Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

The id attribute replace the name attribute

You remember the name attribute. You used it with the <a> to set up jumps to specific points in a page. You probably didn't use id much but you could set up styles with it, jumps with it or use it in a script. In XHTML, name disappears altogether and you must use id instead.

For example:

<a id="jump1">A jump</a>
<p id="section" name="section"></p>