Friday, April 1, 2022

HTML Unordered List Types Tutorial

 

Unordered HTML List - Choose List Item Marker

The CSS list-style-type property is used to define the style of the list item marker. It can have one of the following values:

Disc - Sets the list item marker to a bullet (default)
Circle- Sets the list item marker to a circle
Square- Sets the list item marker to a square
None- The list items will not be marked


Example - Disc

<ul style="list-style-type:disc;">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Example - Circle

<ul style="list-style-type:circle;">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Example - Square

<ul style="list-style-type:square;">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

Example - None

<ul style="list-style-type:none;">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

 

No comments:

Post a Comment

Please do not enter any Link in the comment box.

Featured Post

ugb semester 2 exam form fill up and malda women's college payment

 UGB SEMESTER 2 EXAM FORM FILL UP 2022 UGB 2ND SEMESTER STUDENT LOGIN PAGE Malda Women's College STUDENT PORTAL সম্পূর্ণ ভিডিও দেখে সহজে...