wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML 3

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.

Which HTML tag is used to define an unordered list?

a)

<ul>

b)

<ol>

c)

<list>

d)

<ulist>

2.

Which HTML tag is used to define an ordered list?

a)

<ul>

b)

<ol>

c)

<list>

d)

<ulist>

3.

Which CSS property is used to set the background colour of an element?

a)

background-color

b)

color

c)

bg-color

d)

background-colour

4.

In HTML, which attribute is used to provide alternative text for an image?

a)

alt

b)

src

c)

desc

d)

info

5.

Which HTML element is used to define the structure of an HTML document, including the head and body sections?

a)

<html>

b)

<body>

c)

<head>

d)

<structure>

6.

What is the purpose of the CSS property "padding"?

a)

It sets the space between the border and the content of an element.

b)

It changes the text color of an element.

c)

It defines the width of an element.

d)

It creates space around an element.

7.

What is the purpose of the CSS property "text-decoration: underline;"?

a)

It sets the text colour to underline.

b)

It underlines the text.

c)

It creates a border around the text.

d)

It aligns the text to the underline.

8.

What does the CSS property "text-align: center;" do?

a)

It changes the text colour to red.

b)

It aligns the text to the right.

c)

It centres the text horizontally within its container.

d)

It adjusts the line height of the text.

9.

Which HTML tag is used to embed an image on a webpage?

a)

<image>

b)

<img>

c)

<pic>

d)

<picture>