What Is a Sub-element


What Is a Sub-element? - XHTML Tutorials - Introduction To Element Content Syntax

✍: FYIcenter.com


A sub-element is an XHTML element that is included inside the content of another XHTML element. The inner element is called the sub-element or child element. The outer element is called the parent element. Together they are called nested elements.

Note that which element is allowed to be included inside another element is defined by the XHTML specification. For example, element "p" is allowed inside "body", but it is not allowed inside "head".

2007-05-12, 4541👍, 0💬