Skip to main content

Anchor Links

The anchor tag <a></a> is used to create hyperlinks between other web pages, sounds, video clips and images. Here is an example creating a link to another web page:

 
<a href="nextpage.htm">My Next Page</a>
 

Here is another example creating a link to a website address:

 
<a href="http://www.bbc.co.uk"> The BBC TV</a>
 

Now we will combine an image tag with an anchor to create a hyperlink button:

 
<a href="http://www.bbc.co.uk"> <img src="bbcbutton.jpeg" alt="bbc home page" border=0></a>
 

Next: Headers