CSS floating image


HTML - CSS floating images :

CSS float property is used to wrap content around an image.
float property take one of two values left or right.
float property specifies whether the html element floats left or to the right edge of containing element.
any element has float property set, will be taken out of the normal flow and floated as specified.

To clear floating we use clear property
CSS clear property takes one of three values left, right or both.

Interview Questions: