Adding a link to content on the same page
-
What code would i use if I wanted to click a line of text and it takes you to a heading on the same page.
e.g., I want to click on “Business Hours” and it takes you to that heading down below on the same page. This is the code I have now but it is not working. It tries to take me to a page that isn’t found.
this is the heading at the top of the page
<a href="Business Hours"><span style="color: #330099;">Business Hours</span></a>
this is where i want it to take me
<a name="Business Hours"><span style="color: #330099;">Business Hours</span></a>
http://www.chromehorserentals.com/wordpresstestsite/rental-policies/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding a link to content on the same page’ is closed to new replies.