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 Posts
Introduction to HTML

HTML Introduction HTML is the most common language used to mark up Web pages. What does HTML mean? Hyper Text Read more

What is HTML

HTML stands for Hyper Text Markup Language, which is a programming language used to make web pages and web apps. Read more

HTML Basic Examples

In this chapter, we\'ll show you some simple examples of HTML code. Don\'t worry if we use tags that you Read more

HTML text Editors

Editors for HTML text HTML files are text files, so any text editor can be used to make them. Text 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

Scroll to Top