HTML: List: ul ol li
unordered list
- use
ul
to start a undored list. - use
li
insideul
for each list item.
example:
<ul> <li>cat</li> <li>dog</li> <li>mouse</li> </ul>
browser shows:
- cat
- dog
- mouse
ordered list
just like unordered list, but use ol
instead of ul
- use
ol
to start a undored list. - use
li
insideol
for each list item.
example:
<ol> <li>cat</li> <li>dog</li> <li>mouse</li> </ol>
browser shows:
- cat
- dog
- mouse