<html>
<head>
<style>
img {
float: left;
}
p.clear {
clear: both;
}
</style>
</head>
<body>
<img src="w3css.gif" width="100" height="132">
<p>This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.</p>
<p class="clear">This is also some text. This is also some text. This is also some text. This is also some text. This is also some text. This is also some text.</p>
<p><strong>Remove the "clear" class to see the effect.</strong></p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_float_clear by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:00:48 GMT -->
</html>