×
   ❮     
HTML CSS MySql Javascript SQL PYTHON JAVA C++ C# BOOTSTRAP REACT XML NODEJS ANGULAR DJango Rust Android VUE
     ❯   

HTML List


What is Lists in HTML?

HTML Lists are used to specify lists of information.

All lists may contain one or more list elements.

There are three different types of HTML lists: Ordered List or Numbered List (ol) Unordered List or Bulleted List (ul)


HTML List Tags:


Tag Description
<ul> tag Defines an unordered list
<ol> tag Defines an ordered list
<li> tag Defines a list of item
<dl> tag Defines a description list

<ul> tag

Unordered HTML List

The list items will be marked with bullets (small black circles) by default:

Example

<ul>
  <li>Serengeti National Park</li>
  <li>Ngorongoro National Park</li>
  <li>Mikumi National Park</li>
</ul>
Try it Yourself »

<ol> tag

Ordered HTML List

The list items will be marked with numbers by default:

Example

<ol>
  <li>Mountain Kilimanjaro in Tanzania</li>
  <li>Manyara National Park</li>
  <li>Tarangire National Park</li>
</ol>
Try it Yourself »

<dl> tag

Description lists

The <dl> tag defines the description list:

The <dt> tag defines the term (name):

The <dd> tag describes each term:

Example

<dl>
  <dt>Tanzania National Park</dt>
  <dd>Ngorongoro National Park</dd>
  <dt>Tanzania</dt>
  <dd>Visit Zanzibar</dd>
</dl>
Try it Yourself »

Hey there! Let's go for Learn fasta then! It is more than just coding; it is to have the superpower that can solve any problem. Through simple and easy-to-grasp examples you will sail through the learning process. In addition, it is not just about coding– you will acquire competencies on how to solve complex problems, analyze data, and come up with efficient solutions. Shall we start this wonderful journey together! learnfasta.com terms of use, Copyright 2025 All Rights Reserved.