LI Tag in HTML || HTML LI <li> Tag

HTML LI <li> Tag

0 1796

The HTML LI <li> tag defines a list item. It tells about lists of information. There are three different types of HTML lists Ordered List or Numbered List (ol), Unordered List or Bulleted List (ul), Description List or Definition List (dl).

The <li> tag is used in ordered lists (<ol>), unordered lists (<ul>), Definition List (dl) and in menu lists (<menu>). <ol>, <ul>, <dl> tag acts as parents for <li> list.

The list item is placed between the start (<li>) and end tags (</li>) of li.


<!DOCTYPE html>
<title>Li Tag</title>
<h1>Example of Li Tag</h1>




Leave a Reply

    Waiting for your comments