HTML LI <li> Tag
0 3131
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.
Program:
<!DOCTYPE html>
<html>
<head>
<title>Li Tag</title>
</head>
<body>
<h1>Example of Li Tag</h1>
<ol>
<li>Html</li>
<li>Css3</li>
<li>Javascript</li>
<li>Jquery</li>
<li>Ajax</li>
<li>Php</li>
<li>C</li>
<li>C++</li>
</ol>
</body>
</html>
Output:
Share:
Comments
Waiting for your comments