A good coding principle would be to indent your list tags and then further indent your list items on a new-line. Clearly idented code makes it easy to find mistakes and make changes. Here is a table with some sample lists and the corresponding coding requirements.
You can use the code from the table to create your own lists by copying it into a text editor, or copying code from View-Page Source.
|
<ul>
<li> screwdrivers </li></ul> |
|
<ol>
</ol><li> screwdrivers </li> |
|
<ol type="a">
<li> screwdrivers </li></ol> |
|
<ol type="A">
<li> screwdrivers </li></ol> |
|
<ol type="i">
<li> screwdrivers </li></ol> |
|
<ol type="I">
<li> screwdrivers </li></ol> |
|
<ul>
<li> screwdrivers </li></ul> |
|
<ol type="I"> <li> screwdrivers </li></ol><ol type="A"><li> knitting needles </li> |