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