Skip to main content

Lists

Lists | HTML: Lists are presenting the items with or without order.

Lists:
 
      1. Ordered List
      2. Unordered List

Here is the list.html:

  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <title>Lists in Html</title>
  5.   </head>
  6.   <body>
  7.     <h3>Here is the details of lists in Html</h3>
  8.     <!-- Ordered Lists -->
  9.     <ol type="1">
  10.       <li>a</li>
  11.       <li>b</li>
  12.       <li><img src="images/park.jpg" alt="park"></li>
  13.     </ol>
  14.     <!-- Unordered Lists -->
  15.     <ul style="list-style-type:none" >
  16.       <li>1</li>
  17.       <li>2</li>
  18.       <li><a href="https://www.who.int/">WHO</a></li>
  19.     </ul>
  20.   </body>
  21. </html>

Web view of Html:




Here is the Video: