WorksheetsCSS QUIZ NO. 5
Total questions: 10
Worksheet time: 5mins
Which is the value in the CSS code below? h1 {border:29px solid red}
h1
{ }
border
29px solid red
Which CSS code creates a white and dotted styled border?
h3 {border: 10px white pink;}
h3 {border: 10px dotted gold;}
h3 {border: 10px white dotted;}
h3 {border: 10px dotted white;}
How do you insert a comment in CSS?
//this is a comment
/*this is a comment */
//this is a comment//
‘this is a comment’
What is the correct Borders shorthand property?
Border: 5px solid red;
Border-color:red;
brder;blue
border: color red
Which of the following property sets whether the table borders are collapsed into a single border or separated?
Border
Collapse
table-border
border-collapse
Which of the following property is used to change the width of table?
table
width
resize
table-width
Which of the following property is used to align the text in a table?
Text
align
text-align
align-text
Which property can be used to give a background color to an element?
Background-color
Backgrounds-color
back-color
color-background
Which of the following is the correct element to add the image ‘img.png’ to its background.
Background-image: “img.png”
Background-image: url(“img.png”)
background-image: url(img.png)
image: url(img.png)
What word must be added to the code “background-size:” to make the image fill the entire web page background?
cover
fill
replace
fixed
