Note:
A hyperlink or an anchor.
Syntax:
Referred to as a hyperlink when its destination is another document,
Referred to as an anchor when its destination is a location within the same (or another) document.
Syntax for the hyperlink version:
<a href="http://www.java2s.com" attributes events>label</a>
Syntax for the anchor version:
<a href="#anchorName" attributes events>label</a>