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