ptg16476052
102 LESSON 6: Working with Links
<li><em>The Silly Person's Guide to Seriousness</em> by M. Nott</li>
</ul>
</body>
</html>
Output ▼
FIGURE 6.8
A list of books.
▼
In the previous example, you’ll see the use of the <em> tag. This
tag is used to indicate that the text within it should be empha-
sized. By convention, browsers emphasize the text using italics.
NOTE
Now , modify each of the list items so that they include links. You need to keep the <li>
tag in there because it indicates where the list items begin. Just add the <a> tags around
the text itself. Here you’ll link to filenames on the local disk in the same directory as this
file, with each file contai ning the review for the particular book:
<ul>
<li><a href="rainbow.html"><em>The Rainbow Returns</em> by E. Smith</a></li>
<li><a href="wealth.html"><em>Seven Steps to Immeasurable Wealth</em> by R. U.
Needy</a></li>
<li><a href="food.html"><em>The Food-Lovers Guide to Weight Loss</em> by L.
Goode</a></li>
<li><a href="silly.html"><em>The Silly Person's Guide to Seriousness</em> by M.
Nott</a></li>
▼</ul>