The CSS width property is used to set the width of the content area of an element.
The width CSS property specifies the width of the content area of an element. This content does not include padding, borders, or margins. See the CSS box model.
It does not include padding borders or margins. It sets width of the area inside the padding, border, and margin of the element.