<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS Clear</title>
</head>
<body>
<div class="main-container">
<img class="logo-one" src="https://cdn.pixabay.com/photo/2017/08/05/11/16/logo-2582747_1280.png">
<p class="text-one">
The clear CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The clear property applies to floating and non-floating elements.
When applied to non-floating blocks, it moves the border edge of the element down until it is below the margin edge of all relevant floats. The non-floated block's top margin collapses.
</p>
<p class="text-two">
<img class="logo-two" src="https://cdn.pixabay.com/photo/2017/08/05/11/16/logo-2582748_1280.png">
Vertical margins between two floated elements on the other hand will not collapse. When applied to floating elements, the margin edge of the bottom element is moved below the margin edge of all relevant floats. This affects the position of later floats, since later floats cannot be positioned higher than earlier ones.<br>
Source: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clear">MDN</a>
</p>
</div>
</body>
</html>