wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML - Unit E Review

Total questions: 25

Worksheet time: 19mins

Name
Class
Date
1.

Font ____ are collections of single typefaces and their variants.

a)

properties

b)

families

c)

sets

d)

stacks

2.

"Arial, Helvetica, sans-serif" is a widely used sans-serif font ____.

a)

property

b)

family

c)

set

d)

stack

3.

A font ____ is a list of font families in order of preference, seperated by commas.

a)

property

b)

family

c)

set

d)

stack

4.

You can specify the font size of an element using the CSS ___ property.

a)

font-width

b)

font-height

c)

font-size

d)

font-shape

5.

Background-color and color are properties commonly associated with which pseudo-element?

a)

:first-line

b)

:selection

c)

:before

d)

:after

6.

You can make text bold using the ___ property.

a)

font-weight

b)

font-style

c)

Either of these

d)

Neither of these

7.

You can add italics using the ___ property.

a)

font-weight

b)

font-style

c)

either of these

d)

neither of these

8.

Which of the following is NOT a way that you can specify a color?

a)

As a name

b)

In hexadecimal format

c)

In RGB format

d)

In em format

9.

Which color system should you use when you want to express a color as a triplet with transparency applied?

a)

RGB

b)

RGBa

c)

HSL

d)

HSLa

10.

The rule of thumb is to use ____ for headings on a web page.

a)

serif

b)

sans-serif

c)

web safe

d)

custom

11.

Some web browsers automatically change printed output to black and white, but using a print ___ ensures that this formatting is available for users of all browsers.

a)

property page

b)

style page

c)

property sheet

d)

style sheet

12.

HTML allows you to link to multiple style sheets in the same web document, using the ___ attribute of the link element to specify which type of device should use each style sheet.

a)

value

b)

media

c)

device

d)

agent

13.

Referring to the attached figure, Times New Roman and Georgia are examples of ____ fonts.

a)

Serif

b)

Sans serif

c)

Fantasy

d)

Cursive

14.

Referring to the attached figure, Arial and Tahoma are examples of ___ fonts.

a)

serif

b)

sans-serif

c)

fantasy

d)

cursive

15.

Referring to the attached figure, Courier New and Lucida Console are ____ fonts because each character uses the same amount of horizontal space.

a)

Block

b)

Monospace

c)

Equalized

d)

Code

16.

Referring to the attached figure, Monotype Corsiva and Comic Sans are examples of ___ fonts.

a)

Serif

b)

Sans-serif

c)

Fantasy

d)

Cursive

17.

Referring to the attached figure, Papyrus and Impact are examples of __ fonts.

a)

Serif

b)

Sans-serif

c)

Fantasy

d)

Cursive

18.

Referring to the attached figure, which lines of code will create a drop cap?

a)

50-52

b)

53-55

c)

56-58

d)

59-63

19.

Referring to the attached figure, which style rule uses a class selector?

a)

article

b)

article p

c)

article p:first-line

d)

title

20.

Referring to the attached figure, what do you know about the first line of each paragraph?

a)

It will float left.

b)

It will be bold.

c)

It will have no padding on the top.

d)

It will have a height of 3em.

21.

Gary works at a local ice rink and has been assiged the task of determining what fonts to use on the website.


Gary decides to specify two font families. The correct CSS for specifying this would be ___.

a)

Font-family: Tahoma, Arial;

b)

Font-stack: Tahoma, Arial;

c)

Font-family: Tahoma; Arial;

d)

Font-stack: Tahoma; Arial;

22.

Gary works at a local ice rink and has been assiged the task of determining what fonts to use on the website.


Gary notices that the current website specifies:


Font-family: tahoma, arial, sans-serif;


In this case, sans-serif is a ____ font family.

a)

specific

b)

generic

c)

named

d)

primary

23.

Gary works at a local ice rink and has been assiged the task of determining what fonts to use on the website.


Gary is learning how to list font family names in CSS. Which of the following is written correctly?

a)

"Tahoma"

b)

"Arial"

c)

"Sans-serif"

d)

"Times New Roman"

24.

Thelma is a web developer for a bowling league. She wants visitors to the website to be able to print web pages, such as league schedules.


Thelma knows her visitors will have a wide variety of printers. The first thing she does is create a _____, listing the value as print.

a)

style rule

b)

media query

c)

link to printer rule

d)

print styles query

25.

Thelma is a web developer for a bowling league. She wants visitors to the website to be able to print web pages, such as league schedules.


Thelma decides she wants to set margins for printed output, so she will use a(n) ___.

a)

@media query

b)

margin element

c)

@page rule

d)

print selector