links to another document


<a href="">

Browser
Internet Explorer Firefox Opera
Type
Inline

The A element defines an anchor.

The href attribute of the A element create a link to another document.


<a href="index.html">linked text</a>


Attribute Value Explanation
href=" " URL the target URL of the link

Example

<p><a href="http://www.tagindex.net/">TAG index</a></p>

<p><a href="../../index.html"><img src="banner.gif" alt="TAG index" style="border: none;"></a></p>
Output