Well-formed element

In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is one that is either a) opened and subsequently closed, or b) an empty element, which in that case must be terminated; and in either case which is properly nested so that it does not overlap with other elements. For example, in HTML: <b>word</b> is a well-formed element, while <i><b>word</i> is not, since the bold element <b> is not closed.

Source: Wikipedia — Well-formed element (CC BY-SA 4.0)

Well-formed element

In web page design, and generally for all markup languages such as SGML, HTML, and XML, a well-formed element is one that is either a) opened and subsequently closed, or b) an empty element, which in that case must be terminated; and in either case which is properly nested so that it does not overlap with other elements. For example, in HTML: <b>word</b> is a well-formed element, while <i><b>word</i> is not, since the bold element <b> is not closed.

This neuron ends here.

Source: Wikipedia "Well-formed element" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy