Q: What is the CSS box model?
The CSS box model is the way to think about each
element as having several blocks around them:
Margin, Border, Padding, and then the content.<,p>
Q: Explain this CSS property: padding:25px 50px;
"padding: 25px 50px;" will move the content 25 pixels
from the top and bottom of the element and 50
pixels from the right and left sides. Like this.
Q:How is an HTML element height and width determined?
All elements have inherent height and width, but
they can be changed through CSS with the height and width attributes.
Q:What is the difference between a border and an outline?
A border is a portion of the box model and effects the
shape of an element and can effect the contents.
An outline is similar to a border, but doesn't effects
the shape of the element or the content.
Q:What is the difference between margin and padding?
A margin is the distance between 2 elements.
Padding is the space between the content of
an element and the border.