Test Series - css

Test Number 33/59

Q: Which of the following represents a comment?
A. /!– comments –!/
B. /! comments !/
C. /* comments */
D. 
Solution: Comments can be placed within style sheets. Style sheets use the comment syntax used in C programming
Q: A single _____________ rule can be used in an external sheet to define character set encoding of the style rules and values.
A. @media
B. @charset
C. @font-face
D. 
Solution: None.
Q: An ___________ rule can be used to define style rules for multiple media types in a single embedded style sheet
A. @media
B. @charset
C. @font-face
D. 
Solution: 
Q: An ___________ rule is used to define a page block for printed styles.
A. @important
B. @page
C. @css
D. @html
Solution: An @page rule is used to define a page block for printed styles. Generally, within this construct we see various CSS properties like size, page, and margin to control the dimensions of the page.
Q: Which of the following construct specifies that a style takes precedence over any different, conflicting styles?
A. !important
B.