Sree Sankar
Ordered List & Unordered List
For defining list items, we use <li> tag as a child of the <ol> or <ul> tag
There are some attributes for Ordered List / OL
Attribute | Value | Description |
---|---|---|
reversed | reversed | Specifies that the list order should be reversed (9,8,7...) |
start | number | Specifies the start value of an ordered list |
type | 1 A a I i |
Specifies the kind of marker to use in the list |
<ol>
<li>list item</li>
<li>list item</li>
</ol>
<ul>
<li>list item</li>
<li>list item</li>
</ul>