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:Code
Now make a hyperlink that points to the bookmark:
Code
Output
Notes
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