W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

id attribute in style tag

From: Rob McMeekin <rob.mcmeekin@verizon.net>
Date: Sat, 19 Oct 2002 17:50:26 -0400 (EDT)
Message-ID: <000001c277b1$a7d58420$0417fea9@nomad>
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">

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

Sorry, this document does not validate as XHTML 1.0 Strict.

I also tried it with the other two XHTML 1.0 DTDs.

Received on Sunday, 20 October 2002 21:41:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC