CSS : TEST







 Sample of the pdf document :  







1.       ________ are declared in each individual XHTML element using the style attribute.

a) Cascading style sheets
b) Inline styles
c) External styles
d) User style sheets

2.       The proper format for an inline style is:

a) <p style = “font-size = 20pt”>
b) <p font-style = “20pt”>
c) <p style = “font-size = 20pt”>
d) <p style = “font-size: 20pt”>

3.       In the body of a style sheet, CSS rule properties are followed by a ________.

a) dot
b) CSS operator
c) colon
d) semicolon

4.       Multiple CSS rule properties in style sheets are separated by a ________.

a) dot
b) CSS operator
c) colon
d) semicolon

5.       Which of the following selections is the proper way to apply this CSS rule:
.blue { color: blue }

a) <p color = "blue">
b) <p class = "blue">
c) <p color = .blue>
d) <p class = .blue>

6.       How will the following CSS rule alter the Web page if it is applied in a style sheet?
             h1 { font-family: Arial, sans-serif }

a) All text in h1 elements will have the Arial font, while text in other elements will use a sans-serif font.
b) All text in h1 elements will have use a sans-serif font, while text in other elements will use Arial.
c) All text in h1 elements will have the Arial font if sans-serif is not supported by the system.
d) All text in h1 elements will use a sans-serif font if Arial is not supported by the system.






 Click here for  Download PDF / FREE
         


0 commentaires: