HTML Lists

HTML Lists - HTML Lists 5/25/10 2:55 PM HTML Lists Reasons...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
5/25/10 2:55 PM HTML Lists Page 1 of 2 http://www-scf.usc.edu/~samanthk/itp104/listsextracredit.html Reasons To Make Lists: Places 1. Italy 2. Spain 3. France Foods 1. Sushi 2. Chocolate 3. Pasta 4. Steak Stores People The list can go on. .. Extra Help Book Head First HTML with XHTML, Elisabeth Freeman Freeman Lists Basic Help HTML Lists Constructing HTML lists Constructing an HTML list requires two elements that, when used together, form a list. One element determines what kind of list you are creating while the other one marks up each list item. To create a list you put each item in an < li > element. Let's make a list of all the different type of ice cream flavors. < li > Chocolate < / li > < li > Vanilla < / li > < li > Mint Chocolate Chip < / li > Each of these < li > elements will become an item in the list Now it is important to distinguish between an unordered list ( ul ) and an ordered list ( ol ) Enclose your list items with one of the two elements. If you would like the list to be
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 05/25/2010.

Page1 / 2

HTML Lists - HTML Lists 5/25/10 2:55 PM HTML Lists Reasons...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online