Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - Required Sub-elements
(Continued from previous topic...)
What Is a Required Sub-element?
A required sub-element is a sub-element that you must included in the parent
element. Most sub-elements are optional. But there are some sub-elements that
are required by their parent elements.
Here are two good examples:
<!-- Valid: "head" requires "title" -->
<title>XHTML FAQs by FYIcenter.com</title>
<!-- Valid: "ul" requires "li" -->
<li>Hope you like it.</li>
(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?