WorksheetsPGAS W3 5
Total questions: 17
Worksheet time: 9mins
The opacity property specifies the opacity/________ of an element.
style
transparency
size
color
Opacity can take a value from _____ to _____.
0 to 1
1 to 10
-1 to 1
0 to 10
What is missing below to add a background-image?
body{
background-image: _____("picture.jpg");
}
html
img
url
background
All the margin properties can have the following values. Which one is missing?
auto, length (px, pt, cm), ____, inherit
basic
%
parent
calculated
What is the order of values in the following property?
margin: 25px 50px 75px 100px;
top, bottom, left, right
top, left, bottom, right
top, right, bottom, left
right, bottom, left, top
Padding is used to create space ________________, inside of any defined borders.
around separate elements
around div tags
between borders
around an element's content
Which directly wraps the content?
padding
border
margin
_________________ goes around the padding and content.
padding
border
margin
_____________ clears an area outside the border and is transparent.
padding
border
margin
Which will correctly put a line through text?
text-decoration-line: through;
text-decoration-line: line-through;
text: line-through;
textdecorationline: through;
What are the five generic font families?
serif, sans-serif
monospace
cursive, fantasy
helvitica
times new roman
Always end a font list with __________.
times new roman
google imported font
generic font family
anything you want
What does the following do?
a:link{
color: red;
}
a link the moment it is clicked, will be red
a normal, unvisited link will be red
a link that the user has visited will be red
a link ,when the user mouses over it, will be red
What does the following do?
a:visited{
color: red;
}
a link the moment it is clicked, will be red
a normal, unvisited link will be red
a link that the user has visited will be red
a link ,when the user mouses over it, will be red
What does the following do?
a:active{
color: red;
}
a link the moment it is clicked, will be red
a normal, unvisited link will be red
a link that the user has visited will be red
a link ,when the user mouses over it, will be red
What does the following do?
a:hover{
color: red;
}
a link the moment it is clicked, will be red
a normal, unvisited link will be red
a link that the user has visited will be red
a link ,when the user mouses over it, will be red
Which of the following is not one of the 5 different position values?
static
relative, absolute
fixed
sticky
perm
