I am parsing html file with the help of the html agility pack to extract the table data from the html file. But there is some html files where there is no ending tags which is optional or there is no starting tag which is also optional.So html agility pack does not parse that html page properly.If I open the content of that html file in the notepad++ then with the option TestFX-->TestFX HTML Tidy-->TiDy clean document
and make the content tidy like this. And now this file If I parse with the html agility pack then it parse it properly.
Making html page tidy with notepad++ is best option.
So I don't know but user can not do this like first he/she makes the page tidy with notepad++ and then go ahead.Then what should I do ?
EDIT I have used html tidy pack but in some case there is file which is tidied with that is not parsed but if I make this page tidy in notepad++ then it is parsed.