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