Worksheetsbackground
Total questions: 7
Worksheet time: 4mins
Which CSS embedded rule is used to assign the location of the image on a web page?
background-position
background-attachment
background-repeat
Which of the following phrases must be added to CSS embedded code to stop the background image from scrolling with the text?
fixed
no-scroll
cover
What word must be added to the code "background-size:" to make the image fill the entire web page background?
cover
fill
replace
Which CSS embedded rule allows the text to scroll but the image to stay still?
background-attachment
background-position
background-repeat
Which line of CSS embedded code is correct to change the background color of the web page to purple.
body{background-color:purple;}
<body style="background-color:purple;>
body{color:purple;}
Which of the following CSS embedded codes will add a background image to the web page.
body {background-image:url("link goes here");}
body{img src="link goes here";}
How to display a background image in the above format:
background-repeat: repeat-x;
background-image: repeat;
background-repeat: horizontal;
background-image: repeat-y;
