The element with float property can be set to left, right and none. The float property works only in horizontal directions. The element can be floated in left and right side, but not on top and down side.
The box will float in right and left direction only. There are three values for the float property “left, right, none”
Example of the float property as follows:
The following example shows when you click on the radio button with float value as left or right or none. It will show you the output.