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