Which HTML tag is used to define an ordered list?
Correct answer
B. <ol>
13 views
B. <ol>
13 views
<ol> defines an ordered (numbered) list, with each entry placed in an <li> element. The numbering style can be changed with the type attribute to letters or Roman numerals.
<ul> creates an unordered, bulleted list, <li> is a list item inside either kind, and <list> is not an HTML tag.
Want more practice? Try the full set of Computer Science MCQs on MCQsExam.com.
Not sure why the answer is B? Ask here and get an explanation.