
264 views
HTML Unordered List
HTML Unordered List (UL) is a type of HTML markup used to create a list of items that are not in a specific order or sequence. It is also referred to as a bullet list. The items in an unordered list are typically preceded by a bullet point, which is a small graphic element such as a solid circle, square, or diamond.
The UL element is defined using HTML tags <ul>
and </ul>
. Each list item is enclosed by the <li>
and </li>
tags. For example, the following HTML code creates an unordered list with three items:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
When this code is rendered in a web browser, it will display as:
- Item 1
- Item 2
- Item 3
The appearance of the bullet points can be customized using CSS (Cascading Style Sheets) to match the design of the website.