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