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