You are currently browsing the archives for the XHTML tips category.
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 [...]
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 ….