NEW
Font size
WorksheetsComputer Science Discoveries Assessment 6/7/21 & 6/8/21
Total questions: 20
Worksheet time: 39mins
Which is the correct CSS property to change the font color of a paragraph to blue?
{p
color: blue;
}
p {
blue: color;
}
<p>
color: blue;
</p>
p {
color: blue;
}
None of the above
An image with a border that consist of dashes can be expressed as
img {
dashed: border-style;
}
img {
border-style: dashed;
}
img {
border-dashed: style;
}
img {
border: dashed-style;
}
None of the above
Which is the correct CSS property to move an image?
img {
left: float;
}
img {
move: left;
}
img {
float: left;
}
img {
style: left;
}
None of the above
Which is the correct attribute tag for a photo on a html page?
<p>John Smith - Pixabay</p>
<p>Pixabay</p>
<p>John Smith</p>
</p>John Smith - Pixabay<p>
None of the above
Adding an attribute gives credit to the original author of a photo
True
False
Which item below is an CSS property?
<p>John Smith</p>
p {
color: blue;
}
<link rel="stylesheet" href="style.css">
<img src="photo.jpg" alt="photo description">
None of the above
Which CSS property would the border of your image to bend into a circular shape?
img {
border-radius: 70px;
}
img {
70px: border-radius;
}
img {
border-radius 70
}
img {
border-70: radius;
}
None of the above
Which html tag should be used to link the Cascading Style Sheet to a webpage,
<link rel="stylesheet" href"style.html">
<rel="stylesheet" href"style.html">
<link rel="stylesheet" href"style.css">
<link rel="style.css" href"style.html">
None of the above
What is the correct CSS property to make the border of an image bigger?
img {
border: 10px;
}
img {
width: 10px;
}
img {
width-border: 10px;
}
img {
border-width; 10px;
}
None of the above
A h1 heading with a font size of 50 would be written as
h1 {
font-size: 50;
}
h1 {
font-size: 50px;
}
h1 {
50px: font-size;
}
h1 {
font-50px: size;
}
None of the above
An image that is 250 pixels from left to right can be express by
img {
width: 250
}
img {
250; width:
}
img {
width: 250px;
}
img {
250px; width
}
None of the above
Which is the selector in the following CSS property:
h1 {
background-color: red;
color: blue
}
background-color
h1
red
color
blue
Which is a good filename for an image?
red12345789.jpg
red_car.jpg
red_car_new_vehicle.jpg
R!d3+t7&lov.jpg
None of the above
What is the correct CSS property to change the background color?
body {
background: color-red;
}
body {
red: background-color;
}
body {
background-color: red;
}
<body>
background-color: red
</body>
None of the above
20 pixels of space around all sides of an image can be written as
img {
margin: 20px
}
img {
margin 20
}
img {
20px; margin
}
img {
20 margin
}
None of the above
Which is a bad filename for an image?
red-car.jpg
blue.jpg
new_car1.jpg
1235783.jpg
None of the above
Which is the "rule set" of the following CSS property:
p {
text-align: right;
}
p
text-align:
right;
text-align: right;
The border of an image with the color of green can be expressed as
img {
border-color greenpx
}
img {
green: border-color;
}
img {
border-green: color;
}
img {
border-color: green;
}
None of the above
What is the correct HTML tag for inserting an image file onto a webpage?
<img src="photo.jpg" href="photo description">
<img src="photo.jpg" alt="photo description">
<img alt="photo.jpg" src="photo description">
<"photo.jpg" "photo description">
None of the above
A image that is 200 pixels from top to bottom uses the CSS property
img {
200px: height;
}
img {
height: 200px;
}
img {
height: 200;
}
img {
200; height:
}
None of the above
