Jump to content

how to create links to sections on the same page in html..?


Recommended Posts

  • 2 weeks later...

Hi Friends,
The following example shows how to use #top and #bottom with the <a> tag and href attribute to create a link to the top or bottom of the page. This method is similar to using "id," but you don't have to pick a specific element. Click on "Top" or "Bottom" in the Results section to see what happens.

<a href="#top">Top</a>

<a href="#bottom">Bottom</a>

Link to comment
Share on other sites

  • 3 weeks later...


This topic is now archived and is closed to further replies.

  • Create New...