The Float Property :
One of the methods to set the positioning of an HTML element is to use the the float
property choosing one of the following values:
-
none
— the element does not float (default). -
left
— the element floats to the left of its container. -
right
— the element floats the right of its container. -
initial
— sets this property to its default value. -
inherit
— inherits this property from its parent element.
