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