Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - What Is a Sub-element
(Continued from previous topic...)
What Is a Sub-element?
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".
(Continued on next topic...)
- What Is the XHTML Element Content?
- What Are the XHTML Element Content Models?
- What Are the XHTML Elements Defined with EMPTY Contents?
- What Are the XHTML Elements Defined with PCDATA Contents?
- What Are the XHTML Elements Defined with Sub-elements Contents?
- What Are the XHTML Elements Defined with Mixed Contents?
- What Is PCDATA?
- What Is an XHTML Entity?
- What Is CDATA?
- What Is a Sub-element?
- Can Two Elements Partially Overlap Each Other?
- What Is the Sequence of Sub-elements?
- What Is a Required Sub-element?
- What Is a White Space Character?
- How Exactly White Space Characters Are Ignored?
- How To Get an Extra White Space?
|