Forum Moderators: open

Message Too Old, No Replies

Doctype woes

has been suppressed and the DOCTYPE for "HTML 4.01 Strict" inserted instead

         

olthof

7:06 am on Mar 2, 2010 (gmt 0)

10+ Year Member



I have just gone to validate my site and it has come up with

The detected DOCTYPE Declaration "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">" has been suppressed and the DOCTYPE for "HTML 4.01 Strict" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.


My code is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


Now forgive me if I'm wrong but its telling me to update my Doctype to something that it already is?! Below is a link to the validator's results of my site.

[validator.w3.org ]

I've been at this for hours, any help would be greatly appreciated.

Regards, Tim

olthof

7:07 am on Mar 2, 2010 (gmt 0)

10+ Year Member



Just as I was to post my first post, I checked the link I gave in the preview and it worked all of a sudden. I went back to my original validation page and hit revalidate and it still said it was tentatively checked.

By closing that tab and going to [validator.w3.org ] and trying again it worked. It must not clear all the setting each time you press revalidate.

I thought I would post this up to help anyone else that might come across this annoying situation.

Regards, Tim