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