Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: how is this Strict valid?

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Fri, 22 Dec 2006 13:58:50 +0000
Message-ID: <458BE49A.3040503@splintered.co.uk>
To: www-html@w3.org

Jasper Magick wrote:
> 
> According to this:
> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.w3.org%2F 
> 
> w3.org validates Strict.  But, in the source code I found this:
> 
> <h2 class="newsHeading"><a name="news" id="news" shape="rect">News</a></h2>
> 
> I thought NAME was replaced by ID in Strict doctypes, making NAME no 
> longer valid?

Well, you thought wrong. in XHTML 1.0 Strict it's still perfectly ok in 
situations like these. XHTML 1.1 would be another matter.

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

I'm guessing they did this for backwards compatibility with browsers 
(and some assistive technologies) that still don't play ball with 
linking to fragment identifiers. Although the shape="rect" seems a bit 
useless to me.

P
-- 
Patrick H. Lauke
__________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com 
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/ 
__________________________________________________________
Received on Friday, 22 December 2006 13:59:08 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.