The CSS float property is a positioning property. It displays an HTML element either left or right and allows other elements to wrap around the floated element.
CSS Float Property Value
left- It is used to float the element to the left.
right- It is used to float the element to the right.
none- It removes the float property from an element.
inherit- It is used to inherit float property from its parent element.
The CSS float property is used to place an HTML element either in the left or right direction. You have to clear this float property so that other elements can flow in the normal flow.