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