first let us create a simple div element with a red border using a simple css.
if we add another div element, it will appear under the the first one
to put a multiple divs on the same line we will add float property (left or right)for all divs wen want to put on the same line.
float : left;
I will add margin to right of each div to make small distance between them.
margin-right : 10px;