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