Re: -//W3C/DTD XHTML gives no error in Markup validator 0.80 ?

On Thu, 2 Aug 2007, Marc Gueury wrote:

> http://www.mt-olympus.com/

| <!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Strict//EN"
|  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| <style type="text/css">
| <!--

You write XHTML 1.0 Strict - but you put in pseudo-comments
that were once necessary for Netscape 2 (two!) and HTML.
Such pseudo-comments were not even necessary for Netscape 3 (three!).

Do not put pseudo-comments inside <style> when you write XHTML!
 http://www.w3.org/TR/xhtml1/#C_4
 http://www.htmlhelp.com/reference/css/style-html.html#embedding

Received on Friday, 3 August 2007 13:27:45 UTC