Check HTML Parser Tags

I need html analysis that has the ability to identify an error in the generated html, and if the tags are not closed, close it and return the actual html.

Details: I get data from the database and violate this entry to show partial details on my website, to click on the button more, and then show the full content. After breaking the line, confirm.

I already used the Html Agility Pack, but I am new to use it if this library solves my problem then tell me how (tutorial) or offer me another library.

+5
source share
2 answers

Here are a few verification programs from the World Wide Web Consortium, W3C:

Windows: http://validator.w3.org/docs/install_win.html

UNIX/Linux: http://validator.w3.org/docs/install.html

- CSS, HTML, XML, XHTML, JavaScript -. W3C , -, .

+1

, . , HTML, .

, W3C validator - . , API W3C , , . , .

+1

All Articles