W3C home > Mailing lists > Public > www-html@w3.org > December 2006

Re: how is this Strict valid?

From: Tina Holmboe <tina@greytower.net>
Date: Fri, 22 Dec 2006 14:56:49 +0100 (CET)
To: www-html@w3.org
Message-ID: <tkrat.6393082dc00acd16@greytower.net>

On 22 Dec, Jasper Magick wrote:

> I thought NAME was replaced by ID in Strict doctypes, making NAME no
> longer valid?

  NAME (name) as a fragment identifier is deprecated in XHTML, not in
  HTML; and still valid for use with form controls.

> Also couldn't you have archived the same effect with less code if you
> did this:
> <h2 class="newsHeading" id="news">News</h2>

  Yes. Some UAs won't handle that very well, however, but you could.

 -       Tina Holmboe                           Greytower Technologies
       tina@greytower.net                      http://www.greytower.net
        +46 708 557 905
Received on Friday, 22 December 2006 13:57:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:08 GMT