The most common DTD is XHTML Transitional.
An XHTML document consists of three main parts:
The basic document structure is:
Note: The DOCTYPE declaration is always the first line in an XHTML document
A simple (minimal) XHTML document:
The DOCTYPE declaration above defines the document type. The rest of the document looks like
There are three XHTML DTDs:
Use the strict DOCTYPE when you want really clean markup, free of presentational clutter. Use it
together with CSS.
Use the transitional DOCTYPE when you want to still use HTML's presentational features.
Use the frameset DOCTYPE when you want to use HTML frames.
Your Query was successfully sent!