Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Unit 6: HTML Text & Font Formatting Reference

Total questions: 20

Worksheet time: 35mins

Name
Class
Date
1.

Which CSS property changes the font type of text?

a)

font-style

b)

font-family

c)

text-align

d)

font-weight

2.

What does the font-weight property do?

a)

Italicizes text

b)

Changes text color

c)

Makes text bold or lighter

d)

Adjusts line spacing

3.

How would you make text italic using CSS?

a)

font-style: italic;

b)

text-decoration: italic;

c)

font-weight: italic;

d)

text-align: italic;

4.

Which property changes the spacing between letters?

a)

word-spacing

b)

line-height

c)

letter-spacing

d)

text-transform

5.

What is the correct way to make a link open in a new tab?

a)

Link

b)

Link

c)

Link

d)

Link

6.

Which CSS selector changes a link’s style when the mouse hovers over it?

a)

:click

b)

:hover

c)

:active

d)

:focus

7.

Which CSS property removes the underline from a hyperlink?

a)

text-align

b)

text-decoration: none;

c)

font-style: none;

d)

font-weight: none;

8.

What does the hex color code #00FF00 represent?

a)

Red

b)

Blue

c)

Green

d)

Yellow

9.

Which HTML tag is used to make text bold?

a)

A)

b)

B)

c)

C)

d)

D)

10.

How would you align text to the center using CSS?

a)

text-align: left;

b)

text-align: center;

c)

text-align: justify;

d)

align-text: center;

11.

Explain the difference between font-style and font-weight.

4 lines
12.

What is the purpose of text-transform in CSS?

4 lines
13.

Give an example of a CSS rule to remove underlines from links.

4 lines
14.

Describe how to change the color of text using CSS.

4 lines
15.

What does line-height control?

4 lines
16.

How can you make a hyperlink open in the same tab?

4 lines
17.

Give an example of a hex color code for red and explain its format.

4 lines
18.

How do letter-spacing and word-spacing differ?

4 lines
19.

What is the purpose of the :hover selector in CSS?

4 lines
20.

List three font families commonly used in web design.

4 lines