wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to HTML/CSS Quiz 4: Advanced HTML

Total questions: 7

Worksheet time: 21mins

Name
Class
Date
1.

What does the <span> tag do?

a)

Defines a small selection of text

b)

Defines multiple tags to be formatted

c)

Creates a divider in the page

d)

Creates an airplane on the page

2.

What does the <div> tag do?

a)

Defines a small selection of text

b)

Defines multiple tags to be formatted

c)

Creates a divider in the page

d)

Does division

3.

Which is correct syntax to define width and height?

a)

#page-content {

width: 50vw;

height: 50vh;

}

b)

#page-content {

width: 50vh;

height: 50vw;

}

c)

#page-content {

item-width: 50vw;

item-height: 50vh;

}

d)

#page-content {

tag-width: 50vw;

tag-height: 50vh;

}

4.

Which tags help prevent overflow?

a)

<overflow-width> and <overflow-height>

b)

<overflow-vertical> and <overflow-horizontal>

c)

<overflow-x> and <overflow-y>

d)

<overflow-up> and <overflow-side>

5.

What is a margin?

a)

The space between HTML items

b)

The space within an HTML item

c)

A type of fake butter

d)

An important thing

6.

What is padding?

a)

The space between HTML items

b)

The space within an HTML item

c)

What is required for a good pillow

d)

An important thing

7.

How is the border CSS property written?

a)

border: [size] [style] [color];

b)

border: [color] [style] [size];

c)

border: [size] [color] [style];

d)

border: [style] [color] [size];