The Float Property :
To set the positioning of an image we use 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.
