• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Working with Links, Lists, a... > The <OL> Element: Ordered Lists

The <OL> Element: Ordered Lists

You create ordered lists, which display numbered or lettered items, with the <OL> element. (Note that we just saw such a list in Listing 14.3.) You create each item in the list with an <LI> element. Here’s an example that displays such a list:

(Listing 14-06.html on the web site)

<HTML> 
    <HEAD> 
        <TITLE> 
            An Ordered List 
        </TITLE> 
    </HEAD> 

    <BODY> 
        <H1> 
            Creating An Ordered List 
        </H1> 
        Buying a computer? Let’s consider: 
        <OL>
					<LI> Price
					<LI> CPU Speed
					<LI> Memory
					<LI> Disk space
					<LI> CD-ROM/DVD speed
					</OL> 
    </BODY> 
</HTML> 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint