What is the CSS box model?

Each element in CSS is represented as a rectangular box with properties like padding, margin, and border.

What is the difference between margin and padding?

Padding is the space between the content and the border while margin is the space between the border and other elements.

How is an HTML element height and width determined?

It depends what CSS properties are applied to the element. Layout properties and positioning could affect its dimensions. width and height are explicit properties that will set the corresponding properties on the element.

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

Padding for the top and bottom is 25px while the left and right padding is 50px.

What is the difference between a border and an outline?

Outlines do not take up space.