- From: Rob McMeekin <rob.mcmeekin@verizon.net>
- Date: Sat, 19 Oct 2002 17:50:26 -0400 (EDT)
- To: <www-validator@w3.org>
In section c.14 of the XHTML 1.0 page at
[http://www.w3.org/TR/xhtml1/#guidelines], they give an example where the id
attribute is used in the style tag. However, the following code of mine did
not validate:
<style type="text/css" id="internalStyle">
<![CDATA[
]]>
</style>
because of the following error:
* Line 20, column 30:
<style type="text/css" id="internalStyle">
^
Error: there is no attribute "id" for this element (in this HTML
version)
Sorry, this document does not validate as XHTML 1.0 Strict.
I also tried it with the other two XHTML 1.0 DTDs.
(Rob)
Received on Sunday, 20 October 2002 21:41:02 UTC