What value of the display property makes an element behave like a block-level element but allows it to sit inline with other content?

  • block
  • inline
  • inline-block
  • none
The value of the display property that makes an element behave like a block-level element but allows it to sit inline with other content is inline-block. This is particularly useful when you want an element to have block-level properties (like the ability to set width and height) while still flowing inline with adjacent content.
Add your answer
Loading...

Leave a comment

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