Multiple block elements side by side in CSS
If you place several block elements next to each other, each of them will start on a new line:
<div>text</div>
<div>text</div>
<div>text</div>
div {
width: 100px;
height: 100px;
margin-bottom: 20px;
border: 1px solid red;
}
: