We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionDoes anyone know of an API or an easy way to ge开发者_JAVA百科t information about the HTML spec itself? I'd like to create something that listed all of the current current elements and their specific attributes, etc.
The only way I know is if I pulled the source of the spec and manually scraped through it, which would be incredibly tedious.
Please let me know if you know of any easier ways.
Use the DTD.
Example: http://www.w3.org/TR/html4/sgml/dtd.html
精彩评论