DOCTYPE; was Re (2): W3C validator error - End tag for element "HEAD" which is not open

From:	"Jukka K. Korpela" <jkorpela@cs.tut.fi>
Date:	Mon, 08 Nov 2010 10:55:04 +0200
> If you change the doctype declaration at the start to
> 
> <!DOCTYPE html
>      PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Can anyone explain why the DOCTYPE remains html while the DTD 
has advanced to XHTML?  In other words, why not this?
<!DOCTYPE xhtml
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Over the years I've totalled hours reading pages at w3.org and never 
seen a mention of this apparent inconsistency. 

Thanks,          Peter E.

-- 
Telephone 1 360 450 2132.  7785886232 is gone.
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .

Received on Monday, 8 November 2010 17:08:20 UTC