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

AttributesValueDescription
typedisk
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

Leave a Reply

Related Posts: You may like

html5 video tag Complete Guide

How to get multiple selected values of select box in php

Responsive contact form html css

How to increase size of radio button

PHPKIDA Offering Free Tools:

INSTA DOWNLOADER

Download Instagram Videos & Photos.

Download Now

CURRENCY CONVERTER

Real Time Currency Converter

Convert Now

ROBOST.TXT GEN.

Robots.txt File Creater

Create Now

HTML MINIFIER

Compress yout HTML Code

Minify Now

CSS MINIFIER

Compress yout CSS Code

Minify Now

JAVASCRIPT MINIFIER

Compress yout JavaScript Code

Minify Now

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.