How can we write the html tidy coding to insert the closing tag ?

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-03-20T12:22:02Z Indexed on 2010/03/20 20:01 UTC
Read the original article Hit count: 519

Filed under:
|
|
|
|

How can we write html tidy coding only for inserting closing tag in the html file where closing tags are missing ?

I am parsing html tabular information using Html Agilitiy Pack. But where the ending tags are missing extracting information with html agility pack are not performed well. And if we write the ending tags manually and then we can extract the information perfectly with html agility pack.So I want to insert the closing tags where they are missing so html agility pack extracts the information perfectly.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET