CREATING SIMPLE WEB PAGES
ADDING LINKS TO YOUR WEB PAGES
After finishing yesterday’s
lesson, you now have a couple of pages that have some headings, text, and lists
in them. These page are all well and
good, but rather boring. The real fun starts when you learn how to create
hypertext links and link your pages to the web.
IN THIS LESSON
Today, you’ll learn just that. Specifically,
you’ll learn about the following:
§
All about the HTML link tag <a> and its
various parts
§
How to link to other pages on your local disk by
using relative and absolute pathnames
§
How to link to other pages on the web by using
URLs
§
How to use links and anchors to link to specific
places inside pages
§
All about RULs: the various parts of the URL and
the kinds of URLs you can use.
CREATING LINKS
The create a link in HTML, you
need two things:
The name of the file (or the URL
of the file) to which you want to link
§
The text that will serve as the clickable link.
Only the text included within the link tag is actually
visible on your of page. When your readers click on the link, the browser loads
the URL associated with the link.
THE LINK TAG-<A>