Check valid html c #

Is there an easy way in C # to check an html file (.htm)?

+3
source share
1 answer

You can try the C # article Check XHTML on Dot Net Perls.

If you're not tied to this in C #, then the W3C validation service is usually the best way to validate HTML .

You could, of course, write some kind of test harness in C # that pushes all your HTML through the W3C validator, if that makes sense in your case.

+2
source

Source: https://habr.com/ru/post/1730987/


All Articles