wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Practice

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

Which property is used to change the text color of an element?

a)

A. Font size

b)

B. Color

c)

C. Background color

d)

D. Text align

2.

True / False: Inline CSS can be added using the style attribute directly in an HTML element.

a)
True
b)
False
3.

What does CSS stand for?

a)

A. Computer Style Sheets

b)

B. Creative Style System

c)

C. Computer systems servicing

d)

D. Colorful Style Sheet

4.

How do you select an element with id "header"?

a)

.header

b)

#header

c)

Header

d)

*header

5.

Which property controls the spacing between lines of text?

a)

line-height

b)

letter-spacing

c)

text-indent

d)

word-spacing

6.

True/False: The <link> tag is used to link an external CSS file to an HTML document.

a)
True
b)
False
7.

CSS cannot be applied to HTML tables.

a)

True

b)

False

8.

Which CSS property is used to make text bold?

a)

font-style: bold;

b)

font-weight: bold;

c)

text-decoration: bold;

d)

font-size: bold;

9.

How do you make a list not display bullet points?

a)

list-style: none;

b)

bullet: none;

c)

list: no;

d)

marker: hide;

10.
Which is an example of a signal being encoded?
a)
reading braille
b)
writing a word in Morse code
c)
hearing sound from a radio
d)
receiving an email
11.

Which property is used to change the background color?

a)

Background color

b)

background-color

c)

color

d)

bgcolor

12.
Computers use digital information that is encoded as ______ numbers.
a)
binary
b)
morse code
c)
braille
13.
What is the correct sequence for a signal to be communicated effectively.
a)
decode, transmit, encode
b)
encode, transmit, decode
c)
transmit, decode, encode
d)
decode, encode, transmit
14.
Which best explains why the receiver of a signal must understand the code or language being used?
a)
This allows the signal to be decoded.
b)
This allows the signal to be transmitted.
c)
This allows the signal to be converted to binary.
d)
This allows the signal to be encoded.
15.

How do you select all <p> elements inside a <div>?

a)

div p

b)

div + p

c)

div > p

d)

div.p

16.

True/False: float: left; will position an element to the right of its container.

a)

True

b)

False

17.

Which property is used to set the space between letters?

a)

letter-spacing

b)

word-spacing

c)

line-height

d)

text-indent

18.

Which is used to add a shadow to text?

a)

Text & shadow

b)

Text & shadow & box

c)

Shadow & box & alignment

d)

Font & text & italic & bold

19.
Which best describes binary numbers?
a)
a continuously changing wave
b)
a set of two discrete values
c)
a large array of values
d)
a set of four or five numbers
20.

True/False: display: none; hides an element but still takes up space.

a)
True
b)
False
21.

True/False: Pseudo-classes like :hover and :focus can be used to style elements when a user interacts with them.

a)

True

b)

False

22.

True/False: Cloud computing allows users to access and store data and applications over the internet instead of on a local computer or server."

a)

True

b)

False