OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "HTML Dosyası (.html)|*.html";
openFileDialog1.Title = "Lütfen HTML dosya seçiniz";
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
webBrowser1.DocumentText = System.IO.File.ReadAllText(openFileDialog1.FileName);
}