Hi,
I originally had my single page portfolio site passing the W3C XHTML Markup Validation Service with the following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />Since the site has been setup in EE, it no longer validates and comes back as saying that there is NO DOCTYPE defined at all…
I’ve checked my other sites, with the same results…
Is there some steps necessary to ensure that the DOCTYPE is being defined correctly in EE? Or is it a bug? I like to ensure that my sites all pass the W3C standards.
You can view the results here: http://validator.w3.org/check?uri=http://andy.net.nz/
Remember that this site USE to pass perfectly fine as it was…(basic .html file) and the site was just copy and pasted into an EE index template.
Cheers,
Andy
P.S. I notice that expressionengine.com passes fine: http://validator.w3.org/check?uri=http://expressionengine.com
So there must be something screwy with my setup?