Bootstrap Templates Bundle

Friday, December 28, 2012

How To Hyperlink Bookmark on the Same Page

This page shows the HTML code for making hyperlink bookmarks within the same page. This is achieved by using two different hyperlink codes. These hyperlink codes work together in pairs. One is the go-to target hyperlink and the other is the destination bookmark.

Hyperlink Bookmark Code

Insert the following HTML code into the part of the web document you want to bookmark:
<a name="top"></a>
Now make a hyperlink that points to the bookmark:
<a href="#top">Top of Page</a>


In the above example, top is the name of the variable value. Name these anything you want.

If you want link to the other page just  change code by

<a href="">Top of Page</a>

No comments:

Post a Comment

Wokiee React eCommerce Template