HTML: Basic Tags

<!DOCTYPE...>

Identifies the kind of document that this is; browsers can display different kinds of documents according to different rules, based on what the possible doctypes are. The Doctype also includes a reference to the standard definition, so the browser can, if it needs, get the definitions of the doctype, and draw your document accordingly.

Example

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

This is probably the safest Doctype to use right now. For a document that sets up a frameset, use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
        "http://www.w3.org/TR/html4/frameset.dtd">

For more on Doctypes, see A List Apart.