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