Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - XHTML 1.0 Document Types
(Continued from previous topic...)
How Many Document Types Defined in XHTML 1.0?
There are only 3 document types are defined in XHTML 1.0:
1. Strict type: Only allow non-deprecated and non-frameset XHTML elements in this type.
Strict type should be declared as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2. Transitional type: Allow all XHTML elements defined in "strict" type, plus other
elements that are deprecated in HTML 4.0. Transitional type should be declared as below:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3. Frameset type: Allow all XHTML elements defined in "transitional" type, plus frame related
elements. Transitional type should be declared as below:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
(Continued on next topic...)
- What is the Top Level Structure of an XHTML Document?
- How Many Document Types Defined in XHTML 1.0?
- What Is the "html" Tag/Element?
- What is the Second Level Structure of an XHTML Document?
- What Is the "head" Tag/Element?
- What Is the "body" Tag/Element?
- How To Write a "head" Element Properly?
- What Is the "title" Tag/Element?
- What is a Smallest Valid XHTML Dodument?
- What Is Wrong with This "head" Element?
- What Happens If the "title" Element is Missing?
- What Happens If a "meta" Element Is Not Closed?
- What Is a "meta" Tag/Element?
- What Is the Description "meta" Tag/Element?
- What Is the Keywords "meta" Tag/Element?
- What Is the Robots "meta" Tag/Element?
- What Is a http-equiv "meta" Tag/Element?
- What Is the Author "meta" Tag/Element?
- What Is the "base" Tag/Element?
- What Is a "script" Tag/Element?
- What Is a "link" Tag/Element?
- What Is a "style" Tag/Element?
|