Making a list


It is time for an exercise. To the HTML file you created in the previous chapter, make an ordered lists out of the cities, an unordered nested list out of the Italian foods and fruits and a definition for "favorite", similar to the example shown below.

<HTML>
<HEAD>
<TITLE>My Home Page</TITLE>
</HEAD>

<!-- Written by me -->
<!-- Created:  yesterday -->
<!-- Last modified:  today -->

<BODY>

<H1>&#161;Viva M&eacute;xico&#33;</H1> <HR>
My <EM>favorite</EM> cities are:  
<OL>
<LI>Rio de Janeiro
<LI>Paris
<LI>Venice
</OL> 
<P>
Some of my <EM>favorite</EM> foods are: 
<UL>
   <LI>Italian
   <UL>
      <LI>Lasagna               <LI>Pizza 
      <LI>Prosciutto            <LI>Ravioli
      <LI>Spaghetti
   </UL> 
   <LI>Fruits
   <UL>
      <LI>Apples                <LI>Bananas 
      <LI>Cherries              <LI>Figs
      <LI>Grapes                <LI>Melon
      <LI>Nectarines            <LI>Oranges
      <LI>Papaya
   </UL> 
</UL> 

<DL>
<DT><STRONG>favorite</STRONG>
<DD>A person, or thing liked or prefered above all others; 
regarded with special favor; special.  Things I really like.
</DL>

</BODY>
</HTML>

Once you have added to your HTML file, run it to see if you get the same results I obtained.

Let's review this chapter.


[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 5]

Valid HTML 3.2!