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