Our site is built in shopsite. When we go to w3.org and try to have our site validated we are told it doesn't work. This is important so that we can be indexed by all the search engines.
This is what we get From:
http://www.w3.org/QA/Tips/Doctype
There is not just one type of HTML, there are actually many: HTML 4.01 Strict, HTML 4.01 Transitional, XHTML 1.0 Strict, and many more. All these types of HTML are defined in their respective W3C specifications, but they are also defined in a machine-readable language specifying the legal structure, elements and attributes of a type of HTML.
Such a definition is called a "Document Type Definition", or, for short, DTD.
Tools which process HTML documents, such as Web browsers, need to know which DTD an (X)HTML document is actually using: this is why each (X)HTML document needs, at the beginning, a DTD declaration, such as:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
This appears to be the offending code. Can we change this without messing up the site? How?
Code in our Include Template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
How do we validate our e-commerce site with the correct DOC TYPE so that we can validate the site and make it searchable by Technorati?
P.S. www.shopsite.com is not validated, either.
tia