Lab4

What is the CSS box model?
CSS box model is essentially a box that wraps around every HTML element.

What is the difference between margin and padding?
So the difference between margin and padding is that while padding deals with the inner space, margin deals with the outer space to the next outer element. Padding is space inside the border, whereas Margin is space outside the border.

How is an HTML element height and width determined?
It can be determined by using height and width commands or auto which determines the height and width based on the elements.

What is the difference between a border and an outline?
The CSS border properties allow you to specify the style and color of an element's border. An outline is a line that is drawn around elements which is outside the borders, to make the element stand out.