We indent nested HTML code because... (select all that apply)
Answer
it improves readability
it establishes a hierarchy
it's an HTML5 requirement
the browser requires it to render HTML properly
Question 2
Question
Fill in the missing attributes: <link [blank_start]rel[blank_end]="stylesheet" [blank_start]type[blank_end]="text/css" [blank_start]href[blank_end]="mystyle.css">
Answer
rel
type
href
Question 3
Question
What CSS property would you use to change the color of some text?
Answer
color
font-color
text-color
word-color
Question 4
Question
What are the four layers, in order, of the CSS box model? (1 is inner-most layer and 4 is outer-most)
Answer
1. Content 2. Padding 3. Border 4. Margin
1. Content 2. Border 3. Padding 4. Margin
1. Content 2. Margin 3. Border 4. Padding
1. Content 2. Padding 3. Margin 4. Border
Question 5
Question
The CSS selector pattern `element element` is known as what type of selector?
For example: `.navbar .logo` or `div p`
Answer
descendant selector
child selector
sibling selector
ancestor selector
Question 6
Question
In CSS, the asterisk symbol (*) is known as the __________ selector.
Answer
universal
compass
wild card
catch-all
Question 7
Question
What is the correct way to begin a media query?:
__________ (min-width: 640px) {
/* Style information will go here */
}
Answer
@media
media
.media
&media
Question 8
Question
Select all the CSS values you can use to make the color of some text white.
Answer
white
rgb(255,255,255)
#FFFFFF
rgba(255,255,255,0)
Question 9
Question
What tag is used to create an item within a table row, i.e. a table cell?
Answer
<td>
<tr>
<th>
<tc>
Question 10
Question
The CSS `border` property can be used to set the values for one or more of the following individual properties? (select all that apply)