Float properties in CSS:
CSS float is used to define, how an HTML element will float with respect to other HTML elements on a web page. CSS float properties can be assigned by possible values, that are listed below:
- LEFT - The left element float's to the left side of its parent element container.
- RIGHT - The right element float's to the right side of its parent element container.
- NONE - It is the default value of CSS float property, the element does not float.
- INHERIT - Inherit property is using the same float value, which is of its parent float value.