Monday, September 13, 2010

DOCTYPE declarations explained

XHTML 1.0 offers you three choices of DOCTYPE declaration: XHTML Strict, XHTML
Transitional, and XHTML Frameset. In the initial example, the DOCTYPE declaration is the
first thing in the web page. This is always how it should be—you should never have any
content or HTML elements prior to the DOCTYPE declaration.

No comments:

Post a Comment