tag is used to define a section in an HTML document. This tag is more often used to create web-layouts. Some times, it is required to place two
tags side by side. As it is not straight forward, below steps are helpful to achieve this:


Dec 7, 2020 div, span { display: inline-block; }. What inline-block does is place elements side by side (like inline elements) We can also assign width and