CSS Multiple Choice Questions & Answers on CSS Box Model for Freshers

1. Which of the following property adds padding to the top of an element?

a) height
b) padding-height
c) top
d) padding-top
Answer: d
2. Which of the following display property value is described by treats the element as inline?

a) inline-block
b) list-item
c) block
d) inline
Answer: d
3. Which of the following property defines the style for the bottom border of an element?

a) border-bottom-style
b) border-collapse
c) border-style-bottom
d) none of the mentioned
Answer: a
4. Which of the following property defines the style for the left border of an element?

a) border-style
b) border-left-style
c) border-left-width
d) border-right
Answer: b
5. Which of the following visibility property value is described by The element is not visible, but the layout of surrounding elements is not affected?

a) visible
b) hidden
c) collapse
d) none of the mentioned
Answer: b
6. Which of the following display property value is described by used internally by browsers to create list items. Of no practical value to web designers?

a) inline-block
b) list-item
c) group
d) none
Answer: b
7.Which of the following property controls the horizontal overflow of a block or inline block?

a) overflow-x
b) overflow
c) overflow-y
d) overflow-k
Answer: a
8. Which of the following Overflow property value is described by scrollbars should be provided if the content is too big, but actual implementation is left up to the browser?

a) visible
b) scroll
c) auto
d) hidden
Answer: c
9. Which of the following property sets a consistent margin on all four sides of the affected element?

a) boder
b) margin
c) padding
d) none fof the mentioned
Answer: b
10. Which of the following box-sizing property value is described by width and height include content, padding, and borders?

a) border-box
b) content-box
c) content-box
d) none fof the mentioned
Answer: a

Related

CSS Multiple Choice Questions & Answers on CSS1 and CSS 2.1 Properties for Freshers

1. Which of the following property sets in a shorthand form any or all background properties? a) fontb) backgroundc) background-colord) background-position Answer: b Explanation: Syntax: ...

Java Multiple Choice Questions & Answers on Java.util package Array Class for Freshers

1. Which of these standard collection classes implements all the standard functions on list data structure? a) Arrayb) LinkedListc) HashSetd) AbstractSet Answer: a 2. Which of these classes imple...

C Programming Questions and Answers on Command Line Arguments for Freshers

1. What does argv and argc indicate in command-line arguments?    (Assuming: int main(int argc, char *argv[]) ) a) argument count, argument variableb) argument count, argument v...

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