HTML5 Box Model


Q1. 
Set the size of the box padding area.
A. Use the padding shorthand element or the padding-top, padding-bottom, padding-left, or padding-right properties.
B. Use the margin shorthand element or the margin-top, margin-bottom, margin-left, or margin-right properties.
C. Use the width and height properties.
D. Use the box-sizing property.
Q2. 
Set the size of the box margin area.
A. Use the padding shorthand element or the padding-top, padding-bottom, padding-left, or padding-right properties.
B. Use the margin shorthand element or the margin-top, margin-bottom, margin-left, or margin-right properties.
C. Use the width and height properties.
D. Use the box-sizing property.
Q3. 
Set the size of an element.
A. Use the padding shorthand element or the padding-top, padding-bottom, padding-left, or padding-right properties.
B. Use the margin shorthand element or the margin-top, margin-bottom, margin-left, or margin-right properties.
C. Use the width and height properties.
D. Use the box-sizing property.
Q4. 
Set which part of the box sizes apply to.
A. Use the padding shorthand element or the padding-top, padding-bottom, padding-left, or padding-right properties.
B. Use the margin shorthand element or the margin-top, margin-bottom, margin-left, or margin-right properties.
C. Use the width and height properties.
D. Use the box-sizing property.
Q5. 
Setting bounds for an element's size.
A. Use the max-width, min-width, max-height, and min-height properties.
B. Use the overflow, overflow-x, or overflow-y properties.
C. Use the visibility property (also see the none value for the display property).
D. Use the display property.
Q6. 
Set the manner in which overflowing content is handled.
A. Use the max-width, min-width, max-height, and min-height properties.
B. Use the overflow, overflow-x, or overflow-y properties.
C. Use the visibility property (also see the none value for the display property).
D. Use the display property.
Q7. 
Set the visibility of an element.
A. Use the max-width, min-width, max-height, and min-height properties.
B. Use the overflow, overflow-x, or overflow-y properties.
C. Use the visibility property (also see the none value for the display property).
D. Use the display property.
Q8. 
Set the type of box for an element.
A. Use the max-width, min-width, max-height, and min-height properties.
B. Use the overflow, overflow-x, or overflow-y properties.
C. Use the visibility property (also see the none value for the display property).
D. Use the display property.
Q9. 
Set the box type so an element is displayed with vertical distinctiveness.
A. Use the block value of the display property.
B. Use the inline value of the display property.
C. Use the inline-block value of the display property.
D. Use the run-in value of the display property.
Q10. 
Set the box type so an element is displayed as a word in a paragraph.
A. Use the block value of the display property.
B. Use the inline value of the display property.
C. Use the inline-block value of the display property.
D. Use the run-in value of the display property.
Q11. 
Set the box type so that an element is treated like an inline element on the outside, but a block element on the inside.
A. Use the block value of the display property.
B. Use the inline value of the display property.
C. Use the inline-block value of the display property.
D. Use the run-in value of the display property.
Q12. 
Set the box type so that the way in which an element is displayed depends on the elements around it.
A. Use the block value of the display property.
B. Use the inline value of the display property.
C. Use the inline-block value of the display property.
D. Use the run-in value of the display property.
Q13. 
Hide an element and its contents.
A. Use the none value of the display property.
B. Use the float property.
C. Use the clear property.
D. Use the inline-block value of the display property.
Q14. 
Shift an element to the left or right so that it is positioned against the edge of the containing box or another floating element.
A. Use the none value of the display property.
B. Use the float property.
C. Use the clear property.
D. Use the inline-block value of the display property.
Q15. 
Prevent a floating element from being placed against another floating element.
A. Use the none value of the display property.
B. Use the float property.
C. Use the clear property.
D. Use the inline-block value of the display property.


Advertisements
Advertisements

Mail: Support@gicgac.com