VI. How To?

6.3. Page Structure

6.3.1. HTML and XHTML

Often XHTML is associated to CSS layout and to accessibility. This is some kind of a myth. Often I have read on forums or books that users do not want to use HTML 4.1 because it was older, less handy, or less adapted to CSS than XHTML 1.0. Critics generally concentrate on the facts that:

Actually, HTML and XHTML are two different standards that do not offer the same functionalities and that have different usages. In terms of Accessibility, the use of HTML or XHTML brings the same benefits, and the same inconvenient. The most important is not really the choice of language, but the choice of DTD, or doctype, which specify the language used to create the page, its version, and its mode of execution, which is the most important. There are three types of execution mode: Strict, Transitional, and Frameset. The strict doctype is recommended, indeed, it corresponds to the actual standards of the language used; the Transitional doctype allows the use of deprecated tags such as font, and should only be used, as its name indicates, as a transition from a doctype-less page to a strict valid page; the Frameset doctype is not recommended, it allows the use of frames to build the page, which is an important accessibility flaw.

HTML 4.01 Doctypes:

XHTML 1.0 Doctypes:

Page Top