HTML Worksheet: Lists ul ol li
Code tip (Bullets or numbers?): <ul> = bullets (any order); <ol> = numbers (in order); each item is <li> … </li>. Count the <li> tags to know how many items show. <ol start="3"> starts counting at 3: item 1 shows 3, item 2 shows 4 …
NameDateTime takenScore ___ / 40
-
1.📋 How many items does this list show?
<ol>
<li>Grapes</li>
<li>Orange</li>
<li>Mango</li>
<li>Papaya</li>
<li>Guava</li>
<li>Litchi</li>
</ol> -
2.📋 What number does the browser show next to “Banana”?
<ol>
<li>Grapes</li>
<li>Guava</li>
<li>Banana</li>
<li>Mango</li>
<li>Litchi</li>
</ol> - 3.📋 Which tag goes around each item of a list? (a) <li> (b) <ol> (c) <p> (d) <ul>
-
4.📋 What number does the browser show next to “Grapes”?
<ol start="6">
<li>Banana</li>
<li>Grapes</li>
<li>Orange</li>
</ol> - 5.📋 Which list tag is an ordered list? (a) <ul> (b) <li> (c) <ol>
- 6.True or false: <ul> is one item of a list. (a) False (b) True
-
7.📋 What number does the browser show next to “Papaya”?
<ol>
<li>Mango</li>
<li>Jamun</li>
<li>Papaya</li>
<li>Banana</li>
</ol> - 8.True or false: <li> lists steps in order. (a) False (b) True
-
9.📋 What number does the browser show next to “Mango”?
<ol start="5">
<li>Banana</li>
<li>Mango</li>
<li>Guava</li>
</ol> - 10.📋 Which list shows the steps of a recipe best? (a) <ol> (b) <hr> (c) <br> (d) <ul>
-
11.📋 How many items does this list show?
<ol>
<li>Mango</li>
<li>Grapes</li>
</ol> - 12.True or false: <li> is one item of a list. (a) False (b) True
-
13.📋 What number does the browser show next to “Orange”?
<ol start="7">
<li>Papaya</li>
<li>Orange</li>
<li>Mango</li>
</ol> -
14.📋 What number does the browser show next to “Papaya”?
<ol start="3">
<li>Jamun</li>
<li>Papaya</li>
<li>Orange</li>
<li>Banana</li>
</ol> - 15.True or false: <ol> shows 1, 2, 3 numbers. (a) False (b) True
-
16.📋 How many items does this list show?
<ul>
<li>Banana</li>
<li>Mango</li>
</ul> - 17.📋 Which list suits a shopping list in any order? (a) <ul> (b) <br> (c) <hr> (d) <ol>
-
18.📋 Does this list show bullets or numbers?
<ul>
<li>Mango</li>
<li>Guava</li>
<li>Litchi</li>
</ul> (a) bullets (b) numbers -
19.📋 What number does the browser show next to “Banana”?
<ol>
<li>Guava</li>
<li>Papaya</li>
<li>Litchi</li>
<li>Mango</li>
<li>Banana</li>
</ol> - 20.True or false: <ol> shows bullet points. (a) True (b) False
- 21.True or false: <ul> shows 1, 2, 3 numbers. (a) True (b) False
-
22.📋 What number does the browser show next to “Litchi”?
<ol start="9">
<li>Jamun</li>
<li>Litchi</li>
<li>Mango</li>
<li>Papaya</li>
<li>Guava</li>
<li>Orange</li>
</ol> -
23.📋 Does this list show bullets or numbers?
<ol>
<li>Orange</li>
<li>Banana</li>
</ol> (a) bullets (b) numbers -
24.📋 How many items does this list show?
<ul>
<li>Guava</li>
<li>Orange</li>
<li>Banana</li>
<li>Jamun</li>
</ul> - 25.True or false: <li> is an unordered list. (a) False (b) True
-
26.📋 How many items does this list show?
<ol>
<li>Guava</li>
<li>Banana</li>
<li>Papaya</li>
<li>Mango</li>
<li>Jamun</li>
<li>Grapes</li>
</ol> -
27.📋 How many items does this list show?
<ol>
<li>Mango</li>
<li>Jamun</li>
<li>Banana</li>
<li>Papaya</li>
<li>Guava</li>
<li>Litchi</li>
</ol> -
28.📋 Does this list show bullets or numbers?
<ol>
<li>Mango</li>
<li>Jamun</li>
<li>Litchi</li>
</ol> (a) numbers (b) bullets -
29.📋 How many items does this list show?
<ol>
<li>Jamun</li>
<li>Papaya</li>
<li>Orange</li>
<li>Mango</li>
<li>Grapes</li>
</ol> - 30.True or false: <ul> lists things in any order. (a) False (b) True
- 31.True or false: <ul> goes inside ul or ol. (a) True (b) False
-
32.📋 What number does the browser show next to “Guava”?
<ol start="7">
<li>Grapes</li>
<li>Banana</li>
<li>Guava</li>
</ol> -
33.📋 Does this list show bullets or numbers?
<ul>
<li>Litchi</li>
<li>Papaya</li>
</ul> (a) numbers (b) bullets -
34.📋 Does this list show bullets or numbers?
<ol>
<li>Jamun</li>
<li>Banana</li>
</ol> (a) numbers (b) bullets -
35.📋 Does this list show bullets or numbers?
<ol>
<li>Grapes</li>
<li>Orange</li>
<li>Guava</li>
</ol> (a) bullets (b) numbers -
36.📋 What number does the browser show next to “Banana”?
<ol>
<li>Guava</li>
<li>Jamun</li>
<li>Banana</li>
<li>Orange</li>
</ol> -
37.📋 How many items does this list show?
<ol>
<li>Litchi</li>
<li>Mango</li>
<li>Jamun</li>
<li>Papaya</li>
<li>Guava</li>
<li>Grapes</li>
</ol> - 38.📋 Which list tag lists steps in order? (a) <li> (b) <ul> (c) <ol>
-
39.📋 What number does the browser show next to “Papaya”?
<ol>
<li>Orange</li>
<li>Guava</li>
<li>Mango</li>
<li>Litchi</li>
<li>Papaya</li>
</ol> -
40.📋 How many items does this list show?
<ol>
<li>Banana</li>
<li>Mango</li>
<li>Litchi</li>
<li>Papaya</li>
<li>Grapes</li>
</ol>
Answer key
- 6
- 3
- <li>
- 7
- <ol>
- False
- 3
- False
- 6
- <ol>
- 2
- True
- 8
- 4
- True
- 2
- <ul>
- bullets
- 5
- False
- False
- 10
- numbers
- 4
- False
- 6
- 6
- numbers
- 5
- True
- False
- 9
- bullets
- numbers
- numbers
- 3
- 6
- <ol>
- 5
- 5
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids