Post Malone
Block elements appear on the screen as if they have a line break before and after them. elements are all block level elements. They all start on their own new line, and anything that follows them appears on its own new line.
Inline elements, on the other hand, can appear within sentences and do not have to appear on a new line of their own. T
While, Inline-block elements
allow other elements to sit to their left and right
,respect top & bottom margins and padding
,respect height and width