HTML and CSS Reference
In-Depth Information
<a href="">
the Google
This is normally used to link to a
different website. It works equally
well for linking to pages on the cur-
rent site, but the extra characters
required for a full URL are unnec-
essary, as the next example shows.
<p>Go to
<a href="pages/links-3.html">
another page
It's common to annotate long documents in this fashion. Applying an
ID to each of the headings allows a table of contents to be built up, let-
ting a reader quickly access the relevant section. For example, on
Wikipedia, each article has a table of contents made up of links you can
click to take you to the relevant part of the article.
Search WWH ::

Custom Search