Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - White Space Characters Handling Rules
(Continued from previous topic...)
How Exactly White Space Characters Are Ignored?
White space characters will be processed (ignored) based where they are located:
- White space characters will be ignored between block elements.
- White space characters will be preserved in element "pre".
- White space characters will be preserved in CDATA.
- Multiple consecutive white space characters will be replaced by
a single space character in PCDATA.
- White space characters will be ignored in EMPTY content elements.
(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?
|