NEW
Font size
WorksheetsHTML-OL and UL
Total questions: 4
Worksheet time: 2mins
1. Which HTML tag is used to create an unordered (bulleted) list?
<li>
<ol>
<ul>
<list>
What is the correct structure for creating an ordered list with three items?
<ol>
<item>First</item> <item>Second</item> <item>Third</item> </ol>
<ul>
<li>First</li> <li>Second</li> <li>Third</li>
</ul>
<ol>
<li>First</li> <li>Second</li> <li>Third</li>
</ol>
<list type="ordered"> <li>First</li> <li>Second</li> <li>Third</li>
</list>
Explain the difference between <ul> and <ol> tags.
<ul> creates a list with bullet points, while <ol> creates a list with numbers.
<ul> is used only for tables, while <ol> is used only for images.
<ul> stands for "unique list," while <ol> stands for "open list."
<ul> automatically sorts items alphabetically, while <ol> displays them randomly.
Identify two errors in the following HTML code:
<ul>
<li>Item 1
<li>Item 2</li>
Item 3
</ul>
The first <li> tag is missing its closing tag </li>
"Item 3" is not wrapped in <li> tags
Both A and B
No Mistakes
