css float property code example Example 1: float none css .titanic { float: none; } Example 2: css floaat .myelement { float: left; }