Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - What Is CDATA
(Continued from previous topic...)
What Is CDATA?
CDATA stands for Character DATA, which is used to define a section of data that should not go
through the XHTML entity translation (parsing) process. In other words,
3 special characters: "<", ">", and "&" can be directly used in CDATA.
They will not be "parsed".
CDATA must starts with "<![CDATA[" and ends with "]]>".
Here are some good examples:
<![CDATA[Adam & Eve]]>
<![CDATA[
Sample XHTML code:
<p>1</p>
<p>1 1</p>
<p>1 2 1</p>
<p>1 3 3 1</p>
<p>1 4 6 4 1</p>
]]>
(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?
|