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