Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - What Is PCDATA
(Continued from previous topic...)
What Is PCDATA?
PCDATA stands for Parsed Character DATA. Here are some basic rules about PCDATA:
- PCDATA is a string of characters and XHTML entities.
- XHTML entities are escape sequences used to refer to special characters that
are not so easy to enter them in a text document. For example, "©" is XHTML
entity referring to the copyright character: "©".
- 3 special characters: "<", ">", and "&" can not be used directly in PCDATA.
They must be replaced by the corresponding XHTML entities: "<",
">", and "&".
- If "<" is used in PCDATA, it will be parsed as the beginning of a XHTML tag.
- If "&" is used in PCDATA, it will be parsed as the beginning of a XHTML entity.
Below you will see some good examples of PCDATA:
c FYICENTER
© FYICENTER
© FYICENTER
(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?
|