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