Html5 machine parsed list of tags and attributes

I looked almost everywhere, but I just can't find any html5 machine syntax link.

For html 4 / xhtml, I could just parse the DTD, but for html5 there is no dtd there. Is there any link other than a draft in http://dev.w3.org/html5/ ? (btw. html structure of this project is shit).

I need:

  • tag list
  • list of arguments with types.
  • list of required arguments
+4
source share
1 answer

Someone is working on approximating the HTML5 specification in DTD: http://www.html5dtd.org/

You probably won't get everything you want, but it may also be the closest you find. (I am happy to be mistaken in this if someone knows something better, of course!)

+1
source

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


All Articles