CSS Multiple Choice Questions & Answers on Miscellaneous CSS Constructs for Freshers

1. Which of the following represents a comment?

a) /!– comments –!/
b) /! comments !/
c) /* comments */
d) None of the mentioned
Answer: c

Explanation: Comments can be placed within style sheets. Style sheets use the comment syntax used in C programming
2. 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) None of the mentioned
Answer: b
3. 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) None of the mentioned
Answer: a
4. An ___________ rule is used to define a page block for printed styles.

a) @important
b) @page
c) @css
d) @html
Answer: b

Explanation: 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.
5. Which of the following construct specifies that a style takes precedence over any different, conflicting styles?
a) !important
b) 

Related

C Programming Multiple Choice Questions and Answers on Bit-fields for Freshers

1. What is the correct syntax to initialize bit-fields in an structure? a) struct temp { unsigned int a : 1; }s; b) struct temp { unsigned int a = 1; }s; c) st...

CSS Multiple Choice Questions & Answers on CSS3 Transitions for UI Elements for Freshers

1. Which of the following selector is used to select and style when you place mouse over it? a) focusb) hoverc) moused) all of the mentioned Answer: b 2. Which of the following method increases o...

Java Multiple Choice Questions & Answers on isAlive(), Join() & Thread Synchronization for Freshers

1. Which of these method can be used to make the main thread to be executed last among all the threads? a) stop()b) sleep()c) join()d) call() Answer: b Explanation: By calling sleep() within main...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item