1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which HTML tag is used to define an ordered list?

Added 20 Jan 2024

Which HTML tag is used to define an ordered list?

  1. <ul>
  2. <ol> Correct answer
  3. <li>
  4. <list>

Correct answer

B. <ol>

13 views

MCQSEXAM

Explanation

<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.

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs