Possible Duplicate:
Is there a validating HTML parser implemented in Java?
Hi,
Is there is any API which parse the HTML text using java.
All the function should in the format of Objects
e.g. In the following text i want to Parse the HTML file
and parser should return me the list of tags , attribute ..
<HTML>
<BODY>
<INPUT TYPE="text" value="100">
</BODY>
</HTML>
Thanks
Refer to HTML/XML Parser for Java and Is there a validating HTML parser implemented in Java? and finally Which HTML Parser is the best?
These should answer your question nicely.