1. Which HTML attribute is used to define inline styles? |
styles |
class |
font |
style
|
2. What is the correct CSS syntax for making all the <p> elements bold? |
p {font-weight:bold} |
p {text-size:bold} |
<p style="text-size:bold"> |
<p style="font-size:bold">
|
3. How do you make each word in a text start with a capital letter? |
text-transform:capitalize |
text-transform:capitalize |
text-transform:uppercase |
You can't do that with CSS
|
4. Which HTML attribute is used to define inline styles? |
styles |
class |
font |
style
|
5. What is the correct CSS syntax for making all the <p> elements bold? |
p {font-weight:bold} |
p {text-size:bold} |
<p style="text-size:bold"> |
<p style="font-size:bold">
|
6. How to apply a style to several specific element types? |
Use the type selector with , delimiter |
Use the type selector with . delimiter |
Use the ID selector with ; delimiter |
Use the ID selector with > delimiter
|
7. What selector should you use when applying a style to multiple elements? |
ID |
Class |
Type |
Any of the above
|
8. What does the ID selector do? |
Apply the style to a specific element |
Apply the style to all the elements |
Apply the style to a group of elements |
Apply the style to elements of the same type
|
9. Which values for font-family property is valid? |
Times New Roman, serif |
"Times New Roman", serif |
Times New Roman; serif; |
"Times New Roman"; "serif";
|
10. Which property applies a color to text? |
text-color |
foreground-color |
background-color |
color
|
11. In what form are style rules presented? |
selector { property: value } |
selector { property= value } |
selector ( property: value ) |
selector ( property= value )
|
12. Which of the following styles is recommended? |
In-Line styles |
External styles |
Embedded styles |
Multiple styles
|
13. What does CSS stand for? |
Cool Styling Standard |
Capable Styling Sheets |
Cascading Style Sheets |
Creative Style Sheets
|
14. Which is the correct CSS syntax? |
body {color: black} |
{body;color:black} |
body:color=black |
{body:color=black(body}
|
15. {body:color=black(body} |
Plain Text document |
Head section of each page |
Body section of each page |
none
|
16. In CSS, you have the following options for changing text color ? |
Common name and Hexcolor only |
Common name, RBG value, Hexcolor |
RBG value, Hexcolor |
Hexcolor only
|
17. How do you display hyperlinks without an underline? |
a {decoration:no underline} |
a {text-decoration:none} |
a {underline:none} |
a {text-decoration:no underline}
|
18. Where in an HTML document is the correct place to refer to an external style sheet? |
In the <body> section |
In the <head> section |
At the top of the document |
At the end of the document
|
19. Which CSS property controls the text size? |
font-style |
font-size |
text-size |
text-style
|
20. How do you make the text bold? |
font:b |
style:bold |
font-weight:bold |
style:bold
|