Link to a location on the same page
This is called Anchor links and we use the #link (because # looks like an anchor) to jump to a specific location on the same page. We normally use this if you have a very long page with many sections and you can click on a link to go to a specific section of the page. This is commonly used in an online faq or manual page. For example: http://www.adobe.com/products/creativesuite/faq.edu.html
To do that, just give the Div or element that we want to go to an id=anchor and then make a link to #anchor. For example:
Click me to go to #down
For example:
To do that, just give the Div or element that we want to go to an id=anchor and then make a link to #anchor. For example:
<a href="#down">Click me to go to #down</a>
Click me to go to #down
For example:
<h2 id="down">This is down..
All the way at the bottom of the page</h2>
This is down.. All the way at the bottom of the page
Leave a comment