<li> HTML Tag
In this article I will discuss the <li> HTML Tag.
The HTML li
tag is used for specifying a list item in ordered, unordered, directory, and menu lists.
Example
<html>
<head>
<title></title>
</head>
<body>
<p>
An ordered list:(Input Devices)</p>
<ol>
<li>Keyboard</li>
<li>Mouse</li>
<li>Touch Pad</li>
</ol>
<p>
An unordered list:(Output Devices)</p>
<ul>
<li>Monitor</li>
<li>Printer</li>
</ul>
</body>
</html>
|
Output
An ordered list:(Input Devices)
- Keyboard
- Mouse
- Touch Pad
An unordered list:(Output Devices)
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here