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