Ordered Lists


HTML ol tag for Ordered List:
We use ol tag to create ordered lists in html.
We use li tag to add list items to ordered or un ordered list.
There are two attributes with respect to ol tag, they are type and start.
type attribute takes values like: 1, A, a, I ,i.
start attribute takes number to indicate from which number or alphabet the list begin.

Interview Questions:

1. Which HTML tag is used to create a numbered list?
a. dl
b. ol
c. list
d. ul
Answer: b