The tag used to define the individual list items in the ordered or unordered list.
Answers
Answered by
3
Answer:
- The tag used to define the individual list items in the ordered list or unordered list is - <li>
Explanation:
<li> tag stands for list items. It defines the item of the list. The list items are written after <li> tag. Browsers indent the list by default.
<li> tag is used in both ordered list and unordered list.
Example:
Here is a simple example,
<!DOCTYPE html>
<html>
<head>
<title>List Example.</title>
</head>
<body>
<h5>Fruits: </h5>
<ol>
<li>Mango.
<li>Guava.
<li>Apple.
<li>Banana.
</ol>
</body>
</html>
Output is:
Fruits:
- Mango.
- Guava.
- Apple.
- Banana.
The above c∅de demonstrates the use of <li> tag.
See the attachment for output.
Attachments:
Answered by
0
Answer:
li tag
Explanation:
Similar questions