0
0
HTMLmarkup~10 mins

Ordered lists in HTML - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a simple ordered list with three items.

HTML
<ol>[1]
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ol>
Drag options to blanks, or click blank then click option'
Astart="1"
Btype="a"
Ctype="1"
Dreversed
Attempts:
3 left
💡 Hint
Common Mistakes
Using start attribute instead of type for numbering style.
Using reversed which reverses the order instead of setting numbering style.
2fill in blank
medium

Complete the code to start the ordered list numbering at 5.

HTML
<ol [1]>
  <li>Item one</li>
  <li>Item two</li>
  <li>Item three</li>
</ol>
Drag options to blanks, or click blank then click option'
Astart="5"
Btype="5"
Cvalue="5"
Dnumber="5"
Attempts:
3 left
💡 Hint
Common Mistakes
Using type attribute to set the start number.
Using value or number which are not valid for <ol>.
3fill in blank
hard

Fix the error in the code to correctly reverse the ordered list numbering.

HTML
<ol [1]>
  <li>Step one</li>
  <li>Step two</li>
  <li>Step three</li>
</ol>
Drag options to blanks, or click blank then click option'
Areversed
Breverse="true"
Creverse
Dreversed="true"
Attempts:
3 left
💡 Hint
Common Mistakes
Using reverse instead of reversed.
Adding a value like "true" which is not needed.
4fill in blank
hard

Fill both blanks to create an ordered list that uses uppercase letters and starts at letter C.

HTML
<ol [1] [2]>
  <li>Option one</li>
  <li>Option two</li>
  <li>Option three</li>
</ol>
Drag options to blanks, or click blank then click option'
Atype="A"
Bstart="C"
Cstart="3"
Dtype="1"
Attempts:
3 left
💡 Hint
Common Mistakes
Using letters like "C" in start; use the numeric position 3 instead.
Mixing lowercase and uppercase letters in type.
5fill in blank
hard

Fill all three blanks to create a reversed ordered list starting at 10 with lowercase Roman numerals.

HTML
<ol [1] [2] [3]>
  <li>First</li>
  <li>Second</li>
  <li>Third</li>
</ol>
Drag options to blanks, or click blank then click option'
Areversed
Bstart="10"
Ctype="i"
Dtype="I"
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase Roman numerals type="I" instead of lowercase.
Omitting the reversed attribute.