wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

G10_Q1_T1

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.
Which is the selector in this CSS?
p {color: red;}
a)
p
b)
color
c)
red
2.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
3.

Which of the following is the correct CSS link tag?

a)

<link rel="styles" href="stylesheet.css">

b)

<link href="stylesheet">

c)

<link rel="stylesheet" src="styles.css">

d)

<link rel="stylesheet" href="styles.css">

4.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

5.

The color this element will be________

a)

Blue

b)

Red

c)

green

d)

No color

6.

Looking at the picture below, based on those 3 important rules to remember, what will the color of the text be?

a)

Red

b)

Blue

c)

No color

d)

White

7.

What color will this element be?

a)

Green

b)

Blue

c)

Red

d)

No color

8.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

9.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

10.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

11.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

12.

This is a picture of a ____.

a)

CSS Rule

b)

HTML Rule

c)

Tags

d)

Coding

13.

Which CSS embedded rule is used to assign the location of the image on a web page?

a)

background-position

b)

background-attachment

c)

background-repeat

14.

Which of the following phrases must be added to CSS embedded code to stop the background image from scrolling with the text?

a)

fixed

b)

no-scroll

c)

cover

15.

What word must be added to the code "background-size:" to make the image fill the entire web page background?

a)

cover

b)

fill

c)

replace

16.

Which CSS embedded rule allows the text to scroll but the image to stay still?

a)

background-attachment

b)

background-position

c)

background-repeat

17.

Which line of CSS embedded code is correct to change the background color of the web page to purple.

a)

body{background-color:purple;}

b)

<body style="background-color:purple;>

c)

body{color:purple;}

18.

How to display a background image in the above format:

a)

background-repeat: repeat-x;

b)

background-image: repeat;

c)

background-repeat: horizontal;

d)

background-image: repeat-y;

19.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
20.

Identify CSS property to assign position for a background image.

a)

display: value;

b)

position: value

c)

background-postion: value;

d)

align: value;