Linking to a place on the same page with XHTML

Soldato
Joined
23 Oct 2003
Posts
8,899
Location
Hampshire, UK
Hi guys,

Bit stumped here. I need a link on a page which links to a different place down the page using XHTML 1.1

HTML used to be:
Code:
<a href="#one">Section one</a>

and later down the page:

<h2><a name="three">section one</a></h2>

Now, the W3C site says to use "id" instead of "name"
However, it doesnt work.
Can someone guide me

thanks in advance!
 
Back
Top Bottom