wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML-OL and UL

Total questions: 4

Worksheet time: 2mins

Name
Class
Date
1.
  1. 1. Which HTML tag is used to create an unordered (bulleted) list?

a)

<li>

b)

<ol>

c)

<ul>

d)

<list>

2.

What is the correct structure for creating an ordered list with three items?

a)

<ol>

<item>First</item> <item>Second</item> <item>Third</item> </ol>

b)

<ul>

<li>First</li> <li>Second</li> <li>Third</li>

</ul>

c)

<ol>

<li>First</li> <li>Second</li> <li>Third</li>

</ol>

d)

<list type="ordered"> <li>First</li> <li>Second</li> <li>Third</li>

</list>

3.

Explain the difference between <ul> and <ol> tags.

a)

<ul> creates a list with bullet points, while <ol> creates a list with numbers.

b)

<ul> is used only for tables, while <ol> is used only for images.

c)

<ul> stands for "unique list," while <ol> stands for "open list."

d)

<ul> automatically sorts items alphabetically, while <ol> displays them randomly.

4.

Identify two errors in the following HTML code:

<ul>

<li>Item 1

<li>Item 2</li>

Item 3

</ul>

a)

The first <li> tag is missing its closing tag </li>

b)

"Item 3" is not wrapped in <li> tags

c)

Both A and B

d)

No Mistakes