Lab 4 Melanie Corral

Q: What is the CSS box model?
A:The css box model is a box/border that wraps around every html element. It consists of margins, padding. content.
Q: What is the difference between margin and padding?
A: Margins deal with space outside the border, while padding deal with the space inside the border.
Q: How is an HTML element height and width determined?
A: Height and width are determined by size of the containing block "div".
Q: Explain this CSS property: padding:25px 50px;
A: This padding property translates to top and bottom paddings are 25px while the right and left paddings are 50px.
Q: What is the difference between a border and an outline?
A: The difference is that a border wraps around the block element and an outline is a line drawn around the entire element. Borders take up space and outlines don't.