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