Question: 1
Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels?
XIncorrect
logo {
O
font-size: 60px;
}
O
.logo {
font-size: 60px;
}
logo {
font-size: 60px;
}
id="logo" {
O
font-size: 60px;
}
Answered
Close! ID names are denoted with a hashtag before the name of the ID, Instead of a period.
14 15
1.6 1.7
1.8 1.9 1.10 1.11 1.12
Search
hulu
1.13 1.14
Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels?
XIncorrect
logo {
O
font-size: 60px;
}
O
.logo {
font-size: 60px;
}
logo {
font-size: 60px;
}
id="logo" {
O
font-size: 60px;
}
Answered
Close! ID names are denoted with a hashtag before the name of the ID, Instead of a period.
14 15
1.6 1.7
1.8 1.9 1.10 1.11 1.12
Search
hulu
1.13 1.14