Links


A link is designated by enclosing a text or image inside the <a> (anchor) tag. To designate the destination of the link, use the href attribute:

<a href="http://www.csun.edu/">Cal State Northridge</a>

This will link to another web page (in this case the CSUN home page). You can also use the name attribute to designate a point of your own web page as the destination of your link. For instance:

<a name="top" />

You can then insert a link elsewhere in your document which looks like this:

<a href="#top">Return to Top</a>

The user who clicks on this link will be taken to the point in the document where the anchor named "top" is found.

Return to Top