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