1 / 8

Ordered and Unordered Lists

Ordered and Unordered Lists. Web Design – Section 3-4. Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials. Objectives. The Student will: Be able to create an ordered and unordered list using XHTML.

Télécharger la présentation

Ordered and Unordered Lists

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ordered and Unordered Lists Web Design – Section 3-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials

  2. Objectives • The Student will: • Be able to create an ordered and unordered list using XHTML. • Be able to apply the concepts of nesting.

  3. Lists • The most common HTML lists are either ordered lists <ol> or unordered lists <ul>. • Ordered lists are typically displayed with numbers • Unordered lists are typically displayed with bullets.

  4. Lists • Lists are a great example of nested HMTL tags. • All lists begin with <ol> or <ul> • List items all need to be included between <li> and </li> • The list is then ended with </ol> or </ul> • Think about indenting your lists to clearly see the beginning and ending tags

  5. Example • The list of the best baseball teams in the Chicago area would be: <ol> <li> <strong> CUBS! </strong></li> <li> Kane County Cougars </li> <li> Joliet Jackhammers </li> <li> White Sox </li> </ol>

  6. Example • The result is…

  7. Summary • Ordered Lists <ol> and unordered lists <ul> and the list items are nested tags. • Indent and use white space to keep your code clean and to allow you to easily find opening and closing tags

  8. Rest of Today • Follow the directions on the handout to add both an unordered and ordered list to your web page.

More Related