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