Harvard Extension School
CSCI E-12 Fundamentals of Web Site Development | Spring 2020

## Lists

- list-style-type
  - disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none
- list-style-image
- list-style-position
- list-style
  a shorthand property

### Ordered List

An ordered list (data from: http://fs.ncaa.org/Docs/stats/m_basketball_RB/2019/Coaching.pdf):

Example 4.27 - Ordered List: default - Example 4.27

- Markup
- Display

    <strong>Winningest Active Coaches, Division I NCAA Men's Basketball</strong><ol>
    <li>Mark Few</li>
    <li>Roy Williams</li>
    <li>John Calipari</li>
    <li>Mike Krzyzewski<br/>Bill Self</li>
    <li>Sean Miller</li>
    <li>Brad Underwood</li>
    <li>Dave Rose</li>
    <li>Gregg Marshall</li>
    <li>Ray Harper</li>
    </ol>

Winningest Active Coaches, Division I NCAA Men's Basketball

1. Mark Few
2. Roy Williams
3. John Calipari
4. Mike Krzyzewski
   Bill Self
5. Sean Miller
6. Brad Underwood
7. Dave Rose
8. Gregg Marshall
9. Ray Harper

### Ordered List

An ordered list:

Example 4.28 - Ordered List: upper-roman - Example 4.28 (Without Styles)

- Markup
- Style
- Display

    <strong>Winningest Active Coaches, Division I NCAA Men's Basketball</strong><ol class="basketball">
    <li>Mark Few</li>
    <li>Roy Williams</li>
    <li>John Calipari</li>
    <li>Mike Krzyzewski<br/>Bill Self</li>
    <li>Sean Miller</li>
    <li>Brad Underwood</li>
    <li>Dave Rose</li>
    <li>Gregg Marshall</li>
    <li>Ray Harper</li>
    </ol>

In `style` element (`<style type="text/css">`) within `head` element:

    ol.basketball {
       list-style: upper-roman;
    }

Winningest Active Coaches, Division I NCAA Men's Basketball

1. Mark Few
2. Roy Williams
3. John Calipari
4. Mike Krzyzewski
   Bill Self
5. Sean Miller
6. Brad Underwood
7. Dave Rose
8. Gregg Marshall
9. Ray Harper

Copyright © David Heitmeyer