How can you clear floated elements using CSS?

Subh Prakash Singh
Invent the Future
To clear floated elements, apply the clear property to an element, specifying left, right, or both to control which floats should be cleared, ensuring the next element starts below the floated content.. For example, clear: both; can be applied to an element to ensure that it doesn’t flow around any preceding floated elements, restoring the normal document flow.