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