'a' Syntax and Note : a « HTML Tag Reference « HTML CSS Reference






'a' Syntax and Note

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>

           

      
      








Related examples in the same category

1.'a' HTML Attributes
2.'a' Event Handlers
3.'a' CSS Attributes and JavaScript Style Properties
4.'a' Example
5.'a' Microsoft Behaviors
6.'a' Microsoft Filters
7.'a' JavaScript Properties
8.'a' JavaScript Methods
9.'a' JavaScript Collections
10.'a' JavaScript Objects