Full-stack Web Technologies

CHAPTER 2
Lists

Lists use 3 tags:

<ol>ordered list
<ul>unordered list
<li>list item

Ordered Lists

<ol>
  <li>First</li>
  <li>Second</li>
  <li>Third</li>
  <li>Fourth</li>
</ol>

Unordered lists

<ul>
  <li>Apples</li>
  <li>Oranges</li>
  <li>Kiwis</li>
  <li>Pears</li>
</ul>

Both types of lists can have these attributes:

typeThe type of the list: 1, a, A, i, I
reversedShows the list reversed
startSets the index of the first item (for split lists)