Tom Eldridge wrote :
Hi all I'm getting tons of these errors when running the w3c validator on my
template page.
Basically it will say for example: element "TITLE" undefined.
It means you may have misdeclare the title element. It should be (it
must be) in your <head>...</head> section. If you declare your
<title>...</title> elsewhere than in the head section, then the
validator will report this as an error.
Do I need to put this into lowercase or uppercase or have I got completely
the wrong end of the stick and need to define my doctype to another?
Currently I have this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Elements and attributes in XHTML must be lowercased.
I suggest you use HTML 4.01 strict and not XHTML for your document.
Whatever you decide, it is in your best interest to use a strict DTD,
not a transitional DTD.
Recommended DTDs to use in your Web document.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
Also, if you use Firefox, then you can check your documents offline with
HTML Tidy.
HTML Tidy validator for Firefox
http://users.skynet.be/mgueury/mozilla/
It will report you several errors that W3C markup validator will not.
More resources on this matter:
Web page validators and validation tools
http://www.gtalbot.org/NvuSection/Nv...tml#validators
Gérard
--
remove blah to email me