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

Learn HTML Tags HTML tags are kind of like keywords that tell a web browser how to format and show Read more

HTML Elements

Elements make up an HTML file. These elements are what make web pages and tell you what content is on Read more

HTML Attributes

Attribute in HTML Attributes in HTML are special words that tell you more about an element. Attributes change the way Read more

HTML Headings

Headings in HTML The <h1> to <h6> tags are used to set up headings in HTML. <h1> shows which heading Read more