Re: html 5 #ID tag


#1

Hi! I am stuck on a certain bit on my website where i want to link from my index.html to a section called Gaol on my locations page halfway down the page. Its not currently working. Have i missed something? Thanks!

i inserted this at the position in the content i want to link to

 <h2 id="Gaol">Gaol</h2>

and i inserted this in my index nav


 <li> <a href="locations.html#Gaol">Gaol</a> </li>

code


#2

Are you getting an error ?

is index.html and locations.html in the same folder ?