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