My site is throwing up a few errors typically due to trailing slashes being added.
eg. wordpress is adding in:
<meta name='robots' content='noindex,nofollow' />
my doctype is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
If my understanding is correct the validator is seeing those trailing slashes as being xhtml but is getting worried as the doc type doesn't state it.
I don't want it to be an xhtml doctype as that causes me lots of other problems.
My code is fine but its bits like that meta tag that wordpress is putting in that is causing the problem. How do I solve this?
the trailing slash is making the validator think things are closing so its then throwing up errors on stupid stuff like my closing head and opening body tags.