syntax error [Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML…3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">”

I received some clients website files today in which Firefox was throwing a syntax error on the DOCTYPE. To fix this make sure that each of your javascript calls contains type=”text/javascript”. The client had only language=”javascript”. This attribute has been deprecated. It was used to select other programming languages and specific versions of JavaScript. You don’t need it. Don’t use it.

After I added the TYPE the file validated just fine at W3C.