The float CSS property is used to position elements to the left and right of their container, as well as to allow text and inline elements to wrap around it. The float property defines the page's content flow. If an element is removed from the normal flow of the content, the remaining elements will be included in the flow. The elements that are absolutely positioned ignore this property. It can be written in a CSS file or directly specified in an element's style.