Lesson

Online Web Development Course, Codecademy, Box Model, CSS Grid Layout (pt 2)

Lesson Summary

One of the most important concepts of web development is understanding the box model. When we begin to understand that all html elements are boxes that exist inside a box, we can begin to organize them better when writing our html code. Some of those elements take up the whole width of the outer box(like heading and paragraph elements) and some only take up the size of their content(like spands and a tags). In this lesson Learn About the CSS Box Model and get a better grasp of how elements are organized within the DOM.

Share: