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