In this lesson, we covered the four properties of the box model: height and width, padding, borders, and margins. Understanding the box model is an important step towards learning more advanced HTML and CSS topics. Let’s take a minute to review what you learned.
margin: 0 autohorizontally centers an element inside of its parent content area, if it has a width.
overflowproperty can be set to
scroll, and dictates how HTML will render content that overflows its parent’s content area.
visibilityproperty can hide or show elements.
Make some adjustments to the code in the code editor. See if you can improve the appearance of the page by changing the following properties: