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.
Seems you have the same problem here:
http://blog.ryanrampersad.com/2008/09/06/syntax-error-break-on-this-error-doctype-html-public-w3cdtd-xhtml3orgtr-xhtml1-dtd-xhtml1-strictdtd/
check your script tags!
the following gives the same result: