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