The Basic uses are
. To create a link to another document, by using the href attribute
. To create a bookmark inside a document, by using the name attribute
Bookmarks on a page are very easy to make as they also use the <a> tag. Here we use the name attribute.
For example:
You can then link to this using a standard hyperlink:
Note : You can name bookmarks anything you like. Bookmarks are very useful on pages which are very long as they can be used to quickly go to another part of the page.
For More details see example below: Example : anchor.php