What is the purpose of giving divs different ids?
(1 point)
Responses
to reduce memory use
to reduce memory use
to increase storage space
to increase storage space
to debug
to debug
so they can be styled differently
11 answers
to style them differently
If you do not want every div on your web page to have the same CSS rule applied to it, which selector can you use to apply a certain style to a single division?
(1 point)
Responses
#identify
#identify
id
id
#id
#id
#iden
(1 point)
Responses
#identify
#identify
id
id
#id
#id
#iden
id
What will be the result of the following lines of CSS? body{ background-color:yellow; }
(1 point)
Responses
The background of the header will be yellow.
The background of the header will be yellow.
The text will be highlighted yellow.
The text will be highlighted yellow.
The background of the body of the web page will be yellow.
The background of the body of the web page will be yellow.
The photo will change to a yellow box if the user clicks on the photo.
(1 point)
Responses
The background of the header will be yellow.
The background of the header will be yellow.
The text will be highlighted yellow.
The text will be highlighted yellow.
The background of the body of the web page will be yellow.
The background of the body of the web page will be yellow.
The photo will change to a yellow box if the user clicks on the photo.
The background of the body of the web page will be yellow.
If you wanted to have an image fill a certain background area, which line would you use?
(1 point)
Responses
background-size:fill;
background-size:fill;
background-size:100%;
background-size:100%;
background-size:100;
background-size:100;
background-size:all;
(1 point)
Responses
background-size:fill;
background-size:fill;
background-size:100%;
background-size:100%;
background-size:100;
background-size:100;
background-size:all;
background-size:100%;
Kabir inserted div tags to separate sections of a web page but nothing looked different. How can this be fixed?
(1 point)
Responses
There needs to be a CSS rule applied to that div.
There needs to be a CSS rule applied to that div.
The HTML needs a second head tag.
The HTML needs a second head tag.
The HTML needs a sections tag.
The HTML needs a sections tag.
There needs to be a Python module.
(1 point)
Responses
There needs to be a CSS rule applied to that div.
There needs to be a CSS rule applied to that div.
The HTML needs a second head tag.
The HTML needs a second head tag.
The HTML needs a sections tag.
The HTML needs a sections tag.
There needs to be a Python module.
There needs to be a CSS rule applied to that div.
Shonda created a CSS rule to apply a certain font to a div called abc. Which line of HTML should be used to apply the CSS rule?
(1 point)
Responses
<abc id="div#1">
<div id="abc">
<abc id="div">
<div="abc">
(1 point)
Responses
<abc id="div#1">
<div id="abc">
<abc id="div">
<div="abc">
<div id="abc">