how to align multiple div in same line in html code example Example 1: make multiple div inline display: flex; Example 2: make multiple div inline display: table-cell;