Alexa Olmos - Lab 4

Q: What is the CSS Box Model?
A: The CSS Box Model is a box that wraps around every html element. It wraps around the margins, borders, padding, and the content.
Q: What is the difference between margin and padding?
A: The margin is the outer part of the element while the padding is the inner part of the element.
Q: How is an HTML element height and width determined?
A: The height and width of an HTML element is determined by the height and width properties and the pixels used.
Q: Explain the CSS property: padding 25px 50px.
A: This will set the padding from the top and bottom to 25px and the padding from the left and right to 50px.
Q: What is the difference between a border and an outline?
A: A border is the actual element's box and an outline goes on top of the element's box.