Dave Beckett

Goodbye to the A element's NAME attribute

2003-05-14 22:32

Goodbye to the A element's NAME attribute (O'Reilly Network Weblogs) by Bob DuCharme. Ok, the title isn't great but the message is. Add id to your HTML and make loads more links. No need to stick <a href="foo"></a> when you need a target, just stick id="foo" right where you need it.

Bob says, and I agree:

This is progress, and I'm psyched. I'm going to get in the habit of adding id attributes to my block-level HTML elements; all it takes is a short XSLT stylesheet. The more we all do it, the more we can do with the web.