How the Web Works: XHTML

XHTML 1.0

Flavors of XHTML 1.0

Two Ways to Serve XHTML 1.0

The latter has been the source of some controversy. Pitfalls include:

  1. Many browsers still can't handle content served this way.
  2. If your document is ill-formed, chances are it won't display at all. (Herein lies an anti-XHTML argument.)
  3. Other considerations having to do with XML… See session on XML.

Global Structure of XHTML 1.0