Ice is less dense as a solid than a liquid. Most materials are more dense as solid than liquid so water is pretty special. Ice floats because...

due to the hydrogen bonds between water molecules, solid water (ice) is less dense than liquid water.

The adhesion of the water molecules cause water to be attracted to the air.

The surface tension is pulling the ice to the side of the beaker.

due to the covalent bonds between water molecules, solid water (ice) is less dense than liquid water.

due to the ionic bonds between water molecules, solid water (ice) is less dense than liquid water.

due to the hydrogen bonds between water molecules, solid water (ice) is less dense than liquid water.