wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSS Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does CSS stand for?

a)

Confusing Site Styler

b)

Cascading Style Sheets

c)

Computer Suited Syntax

d)

Competitive Selector Syntax

2.

What is the best way to use CSS?

a)

Inline Style

b)

Internal Style Sheet

c)

Inspect Chrome Element

d)

External Style Sheet

3.

Styling using an external style sheet would override inline styling

a)

True

b)

False

4.

Where do we link an external style sheet in the HTML document?

a)

In the body

b)

In the images folder

c)

In the Head

d)

In the footer

5.

Choose the correct syntax

a)

{H2-color:red};

b)

H2(color:red;)

c)

let H2=color-red;

d)

H2{color:red;}

6.

What PROPERTY could we use to style the background?

a)

background-color

b)

color

c)

bgcolor

d)

backgroundColor

7.

How would you change the font size on all H1 ELEMENTS?

a)

h1=text-size:14px

b)

h1{font-size:14px;}

c)

h1=(font-size:14px)

d)

h1{text-size:14px;}

8.

What type of selector is this? .container

a)

Class

b)

Element

c)

Id

d)

Group

9.

How would you select an ELEMENT with the ID name red-text?

a)

#red-text

b)

=red-text

c)

.red-text

d)

red-text

10.

How do you use comments in a CSS file?

a)

//this is a css comment//

b)

*//this is a css comment

c)

/* this is a css comment*/

d)

//*this is a css comment*//