CSS float property
The float
property allows us to move an element as far left or as far right as you need in the container while the rest of the content wraps up around the image. It's also recommended to set the element's width. Otherwise, the image or other element will span over the entire width of the container, and float properties won't be visible to users.