HTML: Numbered and bulleted lists

This entry is part 8 of 34 in the series HTML

Lists The tag for a numbered list is <ol>, which stands for ordered list.

For a bulleted list, the tag is <ul>.

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Lists</title>
</head>
<body>

<h4>British Pop</h4>
<ol>
    <li>Cold Play</li>
    <li>Depeche Mode</li>
    <li>Adele</li>
</ol>

<h4>American Rock</h4>
<ul>
    <li>Linkin Park</li>
    <li>Nirvana</li>
    <li>Metalica</li>
</ul>

</body>
</html>

Series Navigation<< HTML: Block quotation
HTML: Nested lists >>