<

HTML <li> Tag

The <li> tag defines a list item.The <li> tag is used in ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).

Example



<!DOCTYPE html>
<html>
<body>

<p>employee 1:</p>
<ol>
  <li>sunil</li>
  <li>anil</li>
  <li>rahul</li>
</ol>

<p>employee 2:</p>
<ul>
  <li>ajit</li>
  <li>ashish</li>
  <li>gauri</li>
</ul>

</body>
</html>


















© copyright 2017-2022 Completedone pvt ltd.