开发者

An API for the HTML Spec itself? Or easy way to scrape the Spec? [closed]

开发者 https://www.devze.com 2023-02-11 09:44 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

Does 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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号