HTML element

From orig
Jump to navigationJump to search

An 'HTML element' (instance) in terms of SGML is the completeness of start tag with attributes plus their values, content and end tag, except for empty elements that don't have contents and end tags. Due to the constrains of the DTDs, various parts, including start and end tag, may be omitted in HTML, but not XHTML.

It is often misnamed "tag", in a ugly kind of pars-pro-toto.