2e. Links

One of the coolest things about HTML is that you can link from page to page, and hop around the internet with just a few clicks. This is accomplished using hyperlinks, and you can make your own using the following tags.

Each hyperlink must have an opeing and closing tag surrounding a bunch of text, or an image. The base command is just <a>, so that's all you need to put in the closing tag (</a>). But in the opening tag, you need to specify the href parameter. I think this stands for "Hyperlink REFerence" or something.

This looks like this:

<a href="http://www.links.net">   link text   </a>

Which will render like this: link text

That's all there is to it! Simple. If you want to link a picture, just put the <a> tags aroud an image tag.


<-- back   ||   next -->
tutorial