wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Revision Test

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Set the color of the border

a)

border-style

b)

border-width

c)

border-color

d)

width

2.

sets the color of words in a paragraph

a)

h1 {

color: pink;

}

b)

img {

color: pink;

}

c)

body {

color: pink;

}

d)

p {

color: pink;

}

3.

The blue is called an _____________

a)

Declaration

b)

Selector

c)

Property

d)

Value

4.

how many types of CSS

a)

1 type

b)

2 types

c)

3 types

d)

4 types

5.

css extension ?

a)

.html

b)

.css

c)

both .html and .css

d)

none of the above

6.

are called as

a)

declaratory

b)

dectation

c)

declaration

d)

doctory version cary gieogratically vision

e)

celetrative easy

7.

<p style="background-color:red">

a)

inline style

b)

embedded style

c)

external style

d)

internal style

8.
Karen wants to begin a new line within a paragraph of text on a webpage. Which code should she use?
a)
<li>
b)
<h1>
c)
<hr>
d)
<br>
9.

Which rule set would change the font size to 24?

a)

font-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

10.

What is the value in this CSS?

p {color: red;}

a)

p

b)

color

c)

red

11.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

12.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

13.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

14.
What property changes the border for an image/table?
a)
border:
b)
border-size:
c)
border-color:
15.
If you want to have more than one declaration in a CSS rule, what character separates them?
a)
comma ,
b)
semi-colon ;
c)
colon :
16.

Which is correct CSS syntax?

a)

{body; colour = black;}

b)

body: colour = black

c)

body {

colour : black;}

d)

{body colour is black}

17.

Select the rule to make all the text in your web page blue and centered.

a)

p {

colour: blue; }

b)

body {

text-align: left;

colour: blue; }

c)

p {

text-align: center

colour: blue; }

d)

body {

text-align: center

colour: blue; }

18.

What symbols go around the properties for each CSS selector?

a)

< >

b)

[ ]

c)

{ }

d)

( )

19.

What does CSS stand for?

a)

Cascading style sheets

b)

Certain Sumer stand

c)

Color selctor stand

d)

Cascading style selctor

20.

You want to set the heading to use the font Arial.

a)

h1 { font-family: arial; }

b)

h1 { font: arial; }

c)

heading 1 { font-family: arial; }