Two basic ingredients for each web layout

Block and Inline elements are a basic ingredient for each web layout. No matter if you use float layouts, Flexbox or CSS Grid, these always play a role. A block element always uses the full width of the parent container. Good examples are <div>, <h1> to <h6> or <p>. Inline elements on the other hand…