In programming languages, the word container is generally used for structures that can contain more than one element. A wrapper, on the other hand, is something that wraps around a single object to provide more functionality and interface to it. It's worth mentioning that there will be some instances where one could use the element as a wrapper.

5m read timeFrom css-tricks.com
Post cover image
Table of contents
“Wrapper” vs “Container”width vs max-widthAdditional PaddingWhich HTML Element to ChooseUsing the <body> tag vs. Using an additional <div>

Sort: