I've been trying to find out what this piece of code does when added before the <html> tag. Any ideas?
jdMorgan
9:44 pm on Mar 6, 2003 (gmt 0)
mikeD,
It is the Document Type Declaration, declaring that the document is HTML 3.2, and thus telling the browser what "compatibility mode" to use to interpret it. It is required for a page to pass validation.
See www.w3c.org
HTH, Jim
universalis
4:01 pm on Mar 7, 2003 (gmt 0)
You might also want to check out this article on choosing a DOCTYPE: