Hyperlinks & Anchors

You can add Hyperlinks using the <A> (anchor tag) tag, together with the HREF keyword. This tag is a container tag that requires an </A> tag to signal the end of the text, images and HTML.

The general format of the tag is: <A HREF = "XYZ.HTML">

Creating links to Internet Services

To enable e-mail, we simply use an anchor tag with the HREF keyword, but instead of referring a URL, we use the mailto:keyword. For example, To let the person viewing your Web page, e-mail the address [email protected] , you enter the code as follows:

<HTML>                                                                                                                         

<BODY>

E-mail user name: <A HREF = MAILTO: [email protected]>

[email protected]</A>

</BODY>

</HTML>

 

BACK