To prevent floated elements from affecting the layout of the following elements, the ________ property is often used.

  • clear
  • display
  • float
  • position
The clear property is used to control the behavior of an element that follows a floated element. It specifies on which sides of an element floating elements are not allowed to float. This helps prevent layout disturbances caused by floated elements.
Add your answer
Loading...

Leave a comment

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