<H1 ALIGN="CENTER">Links of All Kinds</H1>
</UL>tags. "UL" stands for Unordered List, which is a perfectly obscure way of saying an unnumbered list. Let's call up last month's file you worked on, and locate the heading "Days of the Week." In the blank line between it and the list of days, add the tag
<UL>. At the end of the list (under Sunday) add the tag
</UL>. Then, add an
<LI>tag in front of each day of the week. When you save your file and load it into your browser, the results should look like this:
</OL>. (Don't worry if something seems to be missing.) You should see this on your page:
<LI>Marchbetween February and April and try again. As if by magic, the list has renumbered itself.
<LI>September, and add a new list that looks like this:
<A>tag that we use to create links, but we use a different attribute--in this case the
NAMEattribute instead of an
HREFattribute. Let's say we want to call our list of days "days" (how clever!). Just before the text "Days of the week" we add this:
</A>tag. We've now in effect planted a flag at the heading "Days of the week" called "days" so that we can easily find it.
<A HREF="#days">Handy list of days of the week</A>
NAMEattribute. Just use the URL (or filename) of the page in the
HREFattribute like you normally would, but with the name tacked on after the filename and separated from it with a pound (#) sign.
<A HREF="mailto:[the email address]">[text to display]</A>
firstname.lastname@example.org, you'd use this code:
<A HREF="mailto:email@example.com">Fred Syzygy</A>
|Terms to know from this lesson|
|Fragment: An identifier in a URL that points to a specific part
of a document, usually one marked with the |
|Anchor: A part of a document enclosed with an |