CSS width Property

The css width property specifies the width of the content area of an element. The content area of the element width does not include the padding, border, and margin of the element.

Syntax for width property

length | percentage | auto | inherit