HTML Tags' Standards Reference
© 2012, Martin Rinehart
To be precise, HTML has had only two tag standards, HTML 3.2 and HTML 4. (The latter was updated in minor ways for HTML 4.01. XHTML 1 and XHTML 1.1 incorporate the HTML 4 documents as their tag components.) In this page we use the common, imprecise standards.
HTML "Standards"
- HTML 1 Tim Berners-Lee's original HTML.
- HTML 2 IETF RFC 1866. RFC 1942 and 1980, if specifically numbered.
- HTML 3.2 W3C Recommendation as numbered, this site.
- HTML 4.01 W3C Recommendation.
- HTML 5 W3C Editor's Draft and WHATWG Living Standard.
X
There is an "outline-numbered" table, named on_table
available that lists the location in each "standard" of each HTML tag. An "outline-numbered" system is one in which 4.10 sorts after 4.9, for example.
A Micro SQL
Columns available in on_table
are Tag
, HTML 1
, HTML 2
, HTML 3.2
, HTML 4.01
and HTML 5
. A simple (proof-of-concept stage) SQL-like facility will report on this table. Available methods include:
select()
—like an SQL SELECT. Provide a list of column names in the order you prefer.select( "*" )
is the default (and therefore redundant).where()
—like an SQL WHERE. Provide an expression in the formcol_name op value
whereop
is one of<
,<=
,==
,>=
,>
or!=
(<>
).order_by()
—provide a single column name, optionally followed by an ordering function. Theon_comp()
function orders "x.10" after "x.9" and all numbered tags before any non-numbered tags.to_table( output_div )
—like analert()
except that it appends a DOM table tooutput_div
(default:document.body
). (Useon_table.to_table()
to dump the whole table.)- Like most proof-of-concept stage systems, error handling is virtually non-existant. Good luck!
Pre-Defined and DIY Reports
Feedback: MartinRinehart at gmail dot com
# # #