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