<ol> - contains an ordered list — 1.
<ul> - contains an unordered list — •
<li> - contains a list item
<h2> - contains a sub heading
A survey of lists...
HTML offers a number of different ways to organize data. One kind of organization is called lists.
There are two kinds of lists:
To make ordered lists, write code like this:
To make unordered lists, write code like this:
There are also times when you will want to use more than one heading size. In the first exercise, you used the
<h1> to make large headings. You can also make progressively smaller headings by using other codes:
<h4>. Try it out and see what happens!
<h1>I am a large heading!</h1> <h2>I am a smaller heading!</h2> <h3>I am even smaller...</h3> <h4>Really?</h4>