0
Inline and block elements
Can someone explain what inline and block elements are?
1 Réponse
+ 4
In short,
A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).
An inline element does not start on a new line and it only takes up as much width as necessary.