Skip to content Skip to sidebar Skip to footer

A Html Validator In Java

I want validate HTML code in Java. Like this: HTMLValidator.validateHTML('aaabbb'); // Returns false, because tag is not closed What Java libraries exi

Solution 1:

You can try JTidy. JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer.

http://jtidy.sourceforge.net/

Post a Comment for "A Html Validator In Java"