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