TERMtm
TERMtm

Reputation: 1933

Do html tags have numbers in spec?

just wondering, I need a numbered way of identifying certain HTML tags. Now I could do this in an arbitrary way myself but would rather use whatever official table I can find. So, my question is: Is there an official numbered list of HTML tags like some periodic table of them (bad example?) in official or sudo-official documentation?

Upvotes: 1

Views: 3932

Answers (2)

Gareth
Gareth

Reputation: 138220

The HTML4 spec has an official list of elements

The HTML5 spec also has an official list of elements

And, people have written an unofficial periodic table containing the HTML5 elements, but of course that's a little tongue in cheek

Upvotes: 2

Tim M.
Tim M.

Reputation: 54417

I haven't ever seen anything but the tag name used in the HTML 4 and HTML 5 specs. Occasionally various sections in a language spec will be referenced by number, but for HTML the tag name is a strong enough identifier in nearly any scenario. Why make it ambiguous by abstracting that?

http://www.w3.org/TR/2011/WD-html5-20110525/#auto-toc-4

Upvotes: 1

Related Questions