Ordered & Unordered Lists in HTML
Items on the List are Numbered Ordered List
<ol> Tag Pair of tags that surround the entire list Short for Ordered List
<li> Tag Pair of tags that surround each individual item on list Short for List Item
Example By Default, Numbering is Ascending (Increasing) and in Decimal Notation
For Use with Ordered Lists Optional Attributes
start Specifies alternate starting value for list numbering Example:
reversed Counts down – numbers in descending order
List Uses Bullets Unordered List
<ul> Tag Pair of tags that surround the entire list Short for Unordered List
<li> Tag Pair of tags that surround each individual item on list Short for List Item
By Default, Bullets are Style “disc” – filled in circles Example By Default, Bullets are Style “disc” – filled in circles
Notice: <li> not closed until contained elements are completed Nesting Lists in Lists Accomplish by creating an additional pair of <ol> or <ul> tags inside a particular <li> Example: Notice: <li> not closed until contained elements are completed
Notice: <li> not closed until contained elements are completed Nesting Example: Notice: <li> not closed until contained elements are completed
Nesting You can continue to nest as many levels deep as you like Not limited to just two levels