WorksheetsHTML5/CSS Revision Quiz 2
Total questions: 23
Worksheet time: 16mins
Name
Class
Date
1.
CSS controls the.....
a)
Coding
b)
Web page content
c)
Web page styles
d)
Images
2.
Content at the bottom of the page, usually for hyperlinks, copyright, contact info, or last date updated.
a)
<footer>
b)
<fp>
c)
<small text>
d)
<@copy right>
3.
CSS stands for?
a)
cascading style sheets
b)
corrupt and sinister systems
c)
caffeine and sugar are super
d)
catatonic snake don't slither
4.
Every selector in CSS matches a _____ in HTML
a)
tag
b)
property
5.
Selectors in CSS hold ____________ and they have values.
a)
selectors
b)
properties
c)
values
d)
tags
6.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a web page structure. CSS provides styling.
c)
CSS structures a webpage. HTML provides styling.
d)
There is no difference.
7.
What symbol should precede hexadecimal color codes?
a)
ampersand (&)
b)
semicolon (;)
c)
hash symbol (#)
d)
equal sign (=)
8.
Where in the HTML document is the correct location to insert code to link to your external CSS?
a)
In the <head> section
b)
In the <body> section
c)
At the very end of the document
d)
At the very beginning of the document
9.
Which is correct CSS syntax?
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black)
10.
Select the code below that uses CSS to configure a background color of #000000 for a web page.
a)
body { background-color: #000000; }
b)
body { bgcolor: #000000; }
c)
document { background-page: #000000; }
d)
None of these
11.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
12.
Which is the value in this CSS?
p {color: red;}
p {color: red;}
a)
p
b)
color
c)
red
13.
You should always define a backup font-family in CSS.
a)
True
b)
False
14.
How do I remove the underline from a link using CSS?
a)
a {underline: none;}
b)
a {text-decoration: none;}
c)
a {style: none;}
d)
link {underline: none;}
15.
Which CSS code is incorrect?
a)
a {color: blue;}
b)
p {font-size: 10px;}
c)
body {background-color="red";}
d)
img {width: 100%;}
16.
What is an example of a selector?
a)
body
b)
background-color:
c)
#8BE7F7
d)
None shown
17.
What is an example of a property?
a)
#header
b)
width:
c)
800px;
d)
None shown
18.
Using p { background-color: blue; } would....
a)
turn the entire page blue
b)
would turn all of the words in the paragraph blue
c)
turn the background of the paragraph blue
d)
would turn the background of the paragraph black
19.
What is an example of a value?
a)
#nav
b)
float:
c)
left;
d)
None shown
20.
A group of industry professionals who joined a club to standardize and develop Internet standards:
a)
world wide web consortium
b)
w3schools
c)
debs who like webs
21.
Important text
a)
<strong> </strong>
b)
<b> </b>
c)
<em> </em>
d)
<i> </i>
22.
What would the coding look like for a heading written in red?
a)
{ h1 color: red;}
b)
<h1> color; red
c)
h1 { color: green; }
d)
h1 { color: red; }
23.
<a href= "http://www.bbc.co.uk"> is a code for?
a)
a heading
b)
A link to the BBC website
c)
An image
d)
a paragraph
100 %
