The quickest, easiest and classic way is to use float property.
CSS float property
You can use CSS float property to specify how any element should be positioned or float.
Syntax
selector{
float : value;
}
float property values
- left – positions an element left in container
- right – positions an element right in container
- none – leave the element where it is (default value)
- inherit – inherits its parent’s float property value
Examples
float image on right with texts around it
float image on left with texts around it
css selectors float images property text