Supported by :   My Law Forms Ltd. - Company Formations, Deed polls and Tenancy Agreements

XHTML Black Magic: W3C DTD

If you wish to become an XHTML wizard you must first master the art of the Document Type Definition (DTD). This simple line of code is almost always forgotten and hardly understood by HTML beginners.

A DTD does exactly what it says: define a type of document. Basically it’s a link to a definition file somewhere on the web, most typically the W3C (the folks who come up with web standard guidelines to begin with), that has a bunch of information about the way you’ve marked your document.


Read the rest of this entry »

What is a DOCTYPE?

This is….

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>

Ok so what? What’s it all for?

Well if you want to know the technical reasoning, see the link at the end… if you want to save yourself hours of stress and headaches when building webpages, then ….


Read the rest of this entry »