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