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