CSS Float and Clear Property

CSS float property is used to display block level elements in a same row. CSS Clear property is used to clear or end the float property.

Example 1: Create two div container in a row and third div container in new row.