HTML List Tag | HTML Types Of Lists

What is HTML List

HTML List Tag is used to represent the data in the formate of the list. HTML Types Of Lists are shown in the bullets or number formate.

example – Bulleted List

<ul>
   <li>Coffee</li>
   <li>Tea</li>
   <li>Milk</li>
</ul>		 

This above code shows that how can you write any data into the bulleted list.

List Tag example – Numbered List

<ol>
   <li>Cold Drinks</li>
   <li>Softy</li>
   <li>Shakes</li>
</ol>		 

This above code shows that how can you write any data into the numbered list.

Example – Full Code For the List Tag

<html>
     <body>
           <ul>
             <li>Coffee</li>
             <li>Tea</li>
             <li>Milk</li>
           </ul>
           <ol>
             <li>Cold Drinks</li>
             <li>Softy</li>
             <li>Shakes</li>
          </ol>
     </body>
</html>	  

This is the full code for the create the list in bullets and number formate.

HTML List Tag Example and the HTML Types Of Lists
Fig.1 – Screen shot of List Examples.

Caution: This figure shows that it is a default look and feel of the bulleted list and numbered list. You can change the default look and feel of the list via CSS Properties and list attributes

You can leave a response, or trackback from your own site.

One Response to “HTML List Tag | HTML Types Of Lists”

  1. Hiya, I am really glad I have found this info. Nowadays bloggers publish just about gossips and internet and this is actually irritating. A good site with interesting content, this is what I need. Thank you for keeping this web site, I’ll be visiting it. Do you do newsletters? Can not find it.

Leave a Reply to the article

Learning & Certifications
Follow Us
Facebook Icon   Linked In Icon   Twitter Icon  
Validation and Recognition

Valid CSS! Valid HTML5!