The HTML Unordered List or Bulleted List
The unordered list items are marked with bullets. It is also known as bulleted lists. An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
Syntax:
<ul> list of items </ul>
Attribute: This tag contains two attributes which are listed below:
Example: This example describes the unordered list.
<!DOCTYPE html>
<html>
<body>
<h2>Grocery list</h2>
<ul>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
<li>Coffee</li>
</ul>
</body>
</html>
Output:
HTML Lists
An HTML list is a record of related information used to display the data or any information on web pages in the ordered or unordered form.
HTML List Example
Basic Implementation of HTML lists.
<!DOCTYPE html>
<html>
<head>
<title>w3wiki</title>
</head>
<body>
<h2>Welcome To w3wiki Learning</h2>
<h5>List of available courses</h5>
<ul>
<li>Data Structures & Algorithm</li>
<li>Web Technology</li>
<li>Aptitude & Logical Reasoning</li>
<li>Programming Languages</li>
</ul>
<h5>Data Structures topics</h5>
<ol>
<li>Array</li>
<li>Linked List</li>
<li>Stacks</li>
<li>Queues</li>
<li>Trees</li>
<li>Graphs</li>
</ol>
</body>
</html>
Output:
There are three types of lists in HTML:
Table of Content
- HTML Unordered List or Bulleted List
- HTML Ordered List
- HTML Description List
Contact Us