Float and Clear
Float and Clear
The CSS clear property specifies what elements can float beside the cleared
element and on which side.
The float property is used for positioning and formatting content e.g. let an
image float left to the text in a container.
In its simplest use, the float property can be used to wrap text around images.
The following example specifies that an image should float to the right in a
text: