Html unordered list

HTML List’s Definition and Usage

  • In HTML there are three types of list ordered, unordered and definition lists. With the name itself you might be understanding that what is list.
  • It is the list of anything like. list of items, list of books.
  • You can list out your items, subjects or menu in the form of a list. HTML support three different types of lists.
  1. Ordered Lists
  2. unordered list
  3. definition list

Hope now you are clear about the List element. so can you create the list of items in the web page? if not, But don’t worry we are help you after learn this page you can can create any type of lists on the your web page very easily. So lets start!

HTML Unordered List Definition and Usage

  • The Unordered list is also a list of items. The list items are marked with bullets ( Typically small black circles ) not with the numbers.
  • HTML <ul> tag specified Unorder list display list of item and its attribute help to change the type of unorder list. </ul>
  • The Unordered list is a collection of related items that have no any special order or sequence. The most common unordered list you will find on the Web is a collection of hyperlinks to other web page.
  • The Ordered list starts with the help of <ul> tag and end with </ul>. list items are defined in between <ul> & </ul>. Each list item is surrounded by the <li> & </li> tag.
  • By default value of unordered list is ( Small black circles ).

<ul> And <li> Tag Attributes

Attributes Value Description
type disk
circle
square
Disk Bullet
Circle Bullet
Square Bullet

Example : HTML Ordered list.

 <html>
 <head>
    <title> HTML Unordered list Examples </title>
 </head>
 <body>
    <!-- Now we are using HTML Unordered list -->
	
	<ul type="disk">
 	 <li> Unordered list Disk Bullet </li>
 	 <li> Unordered list Disk Bullet </li>
	</ul>

	<ul type="circle">
 	 <li> Unordered list Circle Bullet </li>
 	 <li> Unordered list Circle Bullet </li>
	</ul>

	<ul type="square">
 	 <li> Unordered list Square Bullet </li>
 	 <li> Unordered list Square Bullet </li>
	</ul>

 </body>
 </html>

Output :

  • Unordered list Disk Bullet
  • Unordered list Disk Bullet
  • Unordered list Circle Bullet
  • Unordered list Circle Bullet
  • Unordered list Square Bullet
  • Unordered list Square Bullet
About Author

My name is Mukesh Jakhar and I am a Web Application Developer and Software Developer, currently living in Jaipur, India. I have a Master of Computer Application in Computer Science from JNU Jaipur University. I loves to write on technology and programming topics. Apart from this, I love to travel and enjoy the beauty of nature.

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.