HTML Unordered List

HTML Unordered List | HTML Bulleted List

HTML\’s Unordered List or Bulleted List shows items in a list of bullet points. When we don\’t need to show the items in a certain order, we can use an unordered list. The HTML ul tag is used for a list that is not in order.

There are four different kinds of bulleted lists:

  • disc
  • circle
  • square
  • none

There are 4 kinds of attributes in the <ul> tag that can be used to show different kinds of ordered lists.

Type \”disc\”

This is the style most people use. In this style, bullets are used to separate the list items.

Type \”circle\”

In this style, circles are used to mark the list items.

Type \”square\”

In this style, squares are used to mark the list items.

Type \”none\”

The list items are not marked in this style.

HTML Example of an Unordered List

<!DOCTYPE html>
<html>
<body>
<ul>
<li>Red</li>
<li>Blue</li>
<li>Green</li>
<li>Orange</li>
</ul>
</body>
</html>

ul type=\”circle\” Example

<!DOCTYPE html>
<html>
<body>
<ul type=\”circle\”>
<li>Red</li>
<li>Blue</li>
<li>Green</li>
<li>Orange</li>
</ul>
</body>
</html>

Output

\"type

 

ul type=\”disc\” Example

<!DOCTYPE html>
<html>
<body>
<ul type=\”disc\”>
<li>Red</li>
<li>Blue</li>
<li>Green</li>
<li>Orange</li>
</ul>
</body>
</html>

Output

\"type

 

ul type=\”square\” Example

<!DOCTYPE html>
<html>
<body>
<ul type=\”square\”>
<li>Red</li>
<li>Blue</li>
<li>Green</li>
<li>Orange</li>
</ul>
</body>
</html>

Output

\"type

 

ul type=\”none\” Example

<!DOCTYPE html>
<html>
<body>
<ul type=\”none\”>
<li>Red</li>
<li>Blue</li>
<li>Green</li>
<li>Orange</li>
</ul>
</body>
</html>

Output

\"type

Related Article
Introduction to HTML

HTML Introduction – Learn the Basics of HTML HTML is the starting point of web development. Every website you see Read more

What is HTML

What Is HTML – Complete Beginner Explanation HTML is the foundation of the web. Every website you visit, from simple Read more

HTML Basic Examples

HTML Basic Examples – Learn HTML by Practice The best way to learn HTML is by writing and testing simple Read more

HTML text Editors

HTML Text Editors – Learn How to Write HTML Code To write HTML code, you need a text editor. A Read more

HTML Tags

HTML Tags are the basic units used to create HTML elements.They define how content is displayed in a web browser. Read more

HTML Elements

HTML Elements are the building blocks of every web page.Each element defines a part of the webpage, such as headings, Read more

HTML Attributes

HTML Attributes provide additional information about HTML elements.They help control how elements behave, display, or store extra data. In this Read more

HTML Headings

HTML Headings are used to define titles and subtitles on a web page.They help organize content and improve readability for Read more