I am trying to troubleshoot some issues on a website that is going live today and I keep getting this funny error in Firebug and on the W3C validation site
Here is my DOCTYPE code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Here is the error I get:
syntax error [Break On This Error] < !DOCTYPE html PUBLIC "-//W3C//DTD XHT.../xhtml1/DTD/xhtml1-transitional.dtd">
Any guidance on this seemingly simple task would be appreciated.
Thanks.
“s sneak in there instead of straight double quotes? What's the character encoding of the document? Is there any white space or text output before yourDOCTYPEdeclaration? - 65Fbef05<script src>URI but not with a 404 status code, so it is trying to treat an HTML document as JS. That has nothing to do with validation. - Quentin