Jump to content

HTML element

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Crissov (talk | contribs) at 15:17, 21 July 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.