The hypertext reference anchor

 

  The html tag that gives hypertext its name is the tag that lets you make hypertext links from one web page to any other document on the web. This is called the hypertext reference anchor and you can code it into your pages like this:-

<a href="next.htm">Click Here for Next Page </a>

Can you see where I have switched on the anchor a and switched it off with /a at the end of the tag?

The words Click Here for Next Page will appear underlined and in the links colour, usually blue as a default denoting unvisited and purple to denote a visited link. Any text you type after the </a> tag will not be underlined or coloured.

.

.

 

Troubleshooting tip: You must be very precise when coding in html otherwise your web page will not appear to the public as you intend. One of the commonest problems is incorrectly finished anchored hyper-references. The problem comes at this point:

                 next.htm">Click

Many coders forget to close the inverted commas or quotation marks or forget to close the chevron. Beware in your own web page coding!

next.htm is simply the name of the next page you want your users to jump to. You decide the name of the next page, though. So change the filename next.htm to whatever you like.



Question:
What tag switches off the anchor reference section?

Click first in the answer box,
type in your tag without the chevrons and
then click the "submit" button

use all lower-case letters, please

The pop-up adverts are from the service provider, simply click on the X to close the interstitial windows as they appear.
Or use the Minimize button

Click the minimize button on your browser

to reduce the pop-ups to
buttons on the taskbar


You may order an 'unsponsored' copy of
this eLearning pack to run on your own
computer or university server.







next activity »
« back to menu