70 likes | 159 Views
HTML Overview. Part 3 – Creating Lists. Unordered List. An unordered list is also called an bulleted list. Use an unordered list when the order of the items is not important. The tags for lists appear in the body of the document. List tags are paired.
E N D
HTML Overview Part 3 – Creating Lists
Unordered List • An unordered list is also called an bulletedlist. • Use an unordered list when the order of the items is not important. • The tags for lists appear in the body of the document. • List tags are paired. • An unordered list starts and ends with the <ul></ul> tag. • Each list item starts and ends with the <li></li> tag. • The default bullet for an unordered list is a small black dot.
Unordered List Example <ul> <li>Home</li> <li>Products</li> <li>Services</li> <li>Hosting</li> <li>Contact Us</li> </ul>
Ordered List • An ordered list is also called a numbered list. • Use an ordered list when the order of the items is important. • The tags for lists appear in the body of the document. • List tags are paired. • An ordered list starts and ends with the <ol></ol> tag. • Each list item starts and ends with the <li></li> tag. • The default format for an ordered list is 1. 2. 3.
Ordered List Example <ol> <li>Feed cats</li> <li>Mow lawn</li> <li>Make appointment</li> <li>Go to bank</li> <li>Collect dry cleaning</li> </ol>
Work through the W3Schools Tutorial on Lists http://www.w3schools.com/html/html_lists.asp HTML Errors Assignment (handout) Complete Practice: Computer Viruses – part 2 of 5 on page 50-51 of binder. Save your file as lastname_computer_viruses2.html