Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ans:
Ordered lists (<ol>), Unordered lists (<ul>), and Definition lists (<dl>).
The <ol> tag is used to create an ordered (numbered) list.
The <li> tag defines an individual item in both ordered (<ol>) and unordered (<ul>) lists.
The 'type' attribute (e.g., type="A", type="i") changes the numbering style.
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Cherry</li>
</ul>
By setting the type attribute to "square": <ul type="square">
<dl> for the list, <dt> for the term, and <dd> for the description.
Unordered lists (<ul>).
When creating a glossary or explaining the meanings of terms.
<ul>
<li>Outer Item 1
<ol>
<li>A</li>
<li>B</li>
</ol>
</li>
</ul>
The default bullet style is a solid disc.
<ol type="I">
<li>First</li>
<li>Second</li>
</ol>
It is invalid HTML; nested lists must be inside a <li>.
List items in a definition list are made with <dt> for the term and <dd> for the description, not <li>.
<ul>
<li>Math
<ul>
<li>Algebra</li>
</ul>
</li>
</ul>
Ordered list (<ol>), since the order of steps matters.
<dl> and </dl>
In <ol>, it changes the numbering style; in <ul>, it changes the bullet appearance.
Use <ol type="a">
<ol> creates a numbered list while <ul> creates a bulleted list; <ol> is used when order matters, <ul> when it does not.