![]() |
Home
Email the webmaster Legal stuff NEXT LESSON >>> |
| Defining Hyperlinks |
| Hyperlinks are one of the most useful elements on a webpage, because it enables you to 'get from here to there'. A hyperlink may be a absolute, relative URL, or may even be a Target Anchor. |
| Defining Target Anchors |
| Target Anchors are useful when you want
a whole page full of information to be easily accessible by clicking on
the link. In this case, a normal hyperlink will do. However, some sites
are created to be 'printed out', and all the information must be on the
same page. THis is when Target Anchors come in. For example, i have a list
of links at the top of a page, and by clicking on them, you proceed to
the part of the page where the targeted information resides.
Anchors must be defined before targets, and anchors will be placed next to the targeted text. For example, you want the target to get the reader to "Why HTML is useful". This is the code for it... |
| <A HREF="#whyhtmluseful">Why
HTML is useful (Click here!)</A>
. . . . <A NAME="#whyhtmluseful">Why HTML is useful</A> <BR></BR> HTML is useful for putting webpages on the Internet, also known as the World Wide Web. It can be used to format a page to create an ambience for the web surfer, and ...... |