The float property is one technique to place components on a page. The float property is quite flexible and can be utilised in a variety of ways. The float attribute essentially allows us to separate an element from the typical flow of a page and position it to the left or right of its parent element.