HTML List Tags

This page demonstrates the usage of various HTML tags for creating different types of lists.

Unordered List (<ul>)

The <ul> tag defines an unordered list, which is a collection of items without a specific order. Each item is defined using the <li> tag.

Ordered List (<ol>)

The <ol> tag defines an ordered list, which is a collection of items with a specific order. Each item is defined using the <li> tag.

  1. First item
  2. Second item
  3. Third item

Nested Lists

Lists can be nested inside other lists to represent hierarchical data.

Description List (<dl>)

The <dl> tag defines a description list, which is a list of terms and their descriptions. Each term is defined using the <dt> tag, and each description is defined using the <dd> tag.

HTML
A standard markup language for creating web pages.
CSS
A style sheet language used for describing the presentation of a document written in HTML or XML.
JavaScript
A programming language commonly used to create interactive effects within web browsers.

Homepage