Which property in CSS is used to set the width of the content area of an element?

  • Border
  • Margin
  • Padding
  • Width
In CSS, the 'width' property is used to set the width of the content area of an element. It controls the width of the element's content, excluding padding, border, and margin.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *