There is about this code
<div> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> </div> <style> div { width: 1000px; height: 100px; } p { display: block; width: 50px; height: 50px; outline: 1px solid black; } </style> It is very interesting how to make so that <p> blocks that do not fit in the <div> height, are transferred to the right, and so on, so that it turns out like this 