Maximillian Wolfe Lab4

What is the CSS box model?

A box model is used to describe the box around elements in a html file. It consists of margins borders headings and content.

What is the difference between margin and padding?

margins create space around the element while padding is around content in the borders.Margin out while padding is in.

How is an HTML element height and width determined?

They can be specified in the css as px using the height and width elements.

Explain this CSS property: padding:25px 50px;

It creates space 25px up and 50px to the right.

What is the difference between a border and an outline?

The outline is not part of the elements dimensions