e. < a href >
The < a href > tag is an important tag. It is used very commonly in many
web pages. This is what we use to define a link. A link is a gateway to link
with other web pages on the Internet. You achieve this by using the mouse to click
on the link. We will create a web page with links called link.html.
Type the following in your text editor.
< html >
< body >
< br >< br >< br >
< a href="http://www.yahoo.com/" > Yahoo < /a >
< /body >
< /html >
You may have noticed the link is in the format of < a href=" " > < /a >.
The end tag is < /a >. You put the URL(Universal Romote Link) in the " ".
The text in between the tags will be displayed on the screen.
Now save this document as link.html.
Some additional information regarding the URL http://www.yahoo.com
that we just typed. What does it all mean? The word http stands for HyperText
Transfer Protocol. It is what you usually see on the top of your Internet
browser. The rest www.yahoo.com is the web site address that you want to link to.
Open your browser and display the document. You should see Figure 2.
[ main page
]