Computer Science, asked by donkey5, 6 months ago

how to nest ordered list inside a description list?
write a html code where ordered list is nested inside the description list.




Answers

Answered by soumyashree96
1

Unordered list is a list which is described in a bullet fashion where as ordered list are denoted in a numerical fashion. To insert/nest an unordered list inside an ordered list, you need to embed the unordered list inside the li tag which is already embedded inside the ordered list.

I hope my answer will help you

Answered by MrNobody78
2

An ordered list, created using the OL element, should contain information where order should be emphasized, as in a recipe:

Mix dry ingredients thoroughly.

Pour in wet ingredients.

Mix for 10 minutes.

Bake for one hour at 300 degrees.

Definition lists, created using the DL element, generally consist of a series of term/definition pairs (although definition lists may have other applications). Thus, when advertising a product, one might use a definition list:

Lower cost

The new version of this product costs significantly less than the previous one!

Easier to use

We've changed the product so that it's much easier to use!

Safe for kids

You can leave your kids alone in a room with this product and they won't get hurt (not a guarantee).

defined in HTML as:

<DL>

<DT><STRONG>Lower cost</STRONG>

<DD>The new version of this product costs significantly less than the

previous one!

<DT><STRONG>Easier to use</STRONG>

<DD>We've changed the product so that it's much easier to use!

<DT><STRONG>Safe for kids</STRONG>

<DD>You can leave your kids alone in a room with this product and

they won't get hurt (not a guarantee).

</DL>

Similar questions