Main Page | See live article | Alphabetical index

HTML element

In computing, an HTML element (instance) in terms of SGML is the complete sequence of a start tag (with attributes and their valuess), any embedded HTML content, and the end tag. A special case is empty elements that don't have contents and end tags. Due to the constraints of the DTDss, various parts, including start and end tag, may be omitted in HTML, but not XHTML.

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