Skip to content

Courses / HTML5 Mastery: Complete Beginner to Advanced Course / HTML Lists

664 people viewed this

HTML Lists

Which element represents a term or name in a description list?

  1. <dd>
  2. <dt>
  3. <li>
  4. <term>

Question 4: Ordered-List Numbering

What is the displayed numbering of this list?

<ol start="4">
    <li>HTML</li>
    <li>CSS</li>
    <li>JavaScript</li>
</ol>
  1. 1, 2, 3
  2. 3, 4, 5
  3. 4, 5, 6
  4. 0, 1, 2

Question 5: True or False

A nested unordered list should be placed inside the list item to which it belongs.

  1. True
  2. False

Question 6: The value Attribute

What numbering is produced by this ordered list?

<ol>
    <li>First</li>
    <li value="5">Fifth</li>
    <li>Sixth</li>
</ol>
  1. 1, 2, 3
  2. 1, 5, 6
  3. 5, 6, 7
  4. 1, 5, 3

Question 7: Description Lists

Which elements form the basic structure of a description list?

  1. ul, ol and li
  2. table, tr and td
  3. dl, dt and dd
  4. div, span and p

Question 8: Multiple Correct Answers

Which statements about HTML lists are correct? Select all that apply.

  1. The ol element represents an ordered list.
  2. The ul element represents an unordered list.
  3. The dl element is intended for any content that needs indentation.
  4. The type attribute on ol can specify marker styles such as uppercase letters or Roman numerals.

Question 9: True or False

Applying list-style-type: none in CSS removes the semantic meaning of an HTML list.

  1. True
  2. False

Question 10: Reversed Numbering

What is the default displayed numbering for the following list with three items?

Rate this course

5.0 · 1 rating

Stars show on this course. Your written note stays private.

Your stars