Skip to main content

Describing ordered and unordered lists


<!DOCTYPE html>

<html>

<body>

 

  <p>Unordered List</p>

  <ul>

    <li>lenovo</li>

    <li>Oppo</li>

    <li>Microsoft</li>

  </ul>

 

  <p>Ordered List</p>

  <ol type= "a">

    <li>lenovo</li>

    <li>Oppo</li>

    <li>Microsoft</li>

  </ol>

   

</body>

</html>

     Unordered list - Item Markers
disk
square
circle
none

The  list-style-type property is used to describe the type of list item Markers.

Syntax: <ul style ="list-style-type:none ">
                        -------------

   Ordered list

The type attribute of <ol> tag is used to select type of list item marker.

Comments