NEW
Font size
WorksheetsBasic CSS Quiz
Total questions: 10
Worksheet time: 2mins
How many parts are there in the box model?
3
1
4
6
CSS Margin property defines the space between which parts of the box model?
Content and Top
Content and Margin
Border and Top
Content and Top
The CSS height and width properties are used to set the height and width of an element
True
False
Which of these is not a part of the CSS box model?
Padding
Element
Content
Margin
Setting the margin property to auto will horizontally center the element within its container/element?
True
False
CSS padding property defines the space between which parts of the box model?
Content and Border
Content and Margin
Border and Margin
Content and Top
Which of these examples of margin shorthand is incorrect?
margin: 5px 20px;
margin: 5px 20px 10px 5px;
margin: 5px 20px 15px;
margin: 5px ;
Which of these is not a property of CSS padding?
padding-bottom
padding-top
padding-center
padding-right
padding
CSS margin collapse applies to only what sides of an element?
Top and Right
Top and Bottom
Left and Right
Top and Left
This quiz was very simple
False
True
