There are how many types
of list in HTML.
Answers
Answered by
1
Answer:
there 4 type of lists in html
Answered by
0
Answer:
- There are three types of list in HTML.
Explanation:
In HTML, there are three types of list. They are - Ordered List, Unordered List and Definition List.
→ Ordered List displays list items in numbered pair.
General Syntax:
<ol>
<li>Item 1.
<li>Item 2.
<li>Item 3.
</ol>
→ Unordered list displays list items in bulleted pairs.
General Syntax:
<ul>
<li>Item 1.
<li>Item 2.
<li>Item 3.
</ol>
Here, <li> tag defines the items in the list. LI stands for list items.
→ Definition list displays definition of any item in the form of a dictionary.
General Syntax:
<dl>
<dd>Item 1.
<dt>Definition of Item 1.
</dl>
Here,dl tag defines the definition list, dd tag contains the item to be defined and dd tag contains the definition of the item.
Similar questions