+ 1

What's the difference between block level elements and inline elements

1st Apr 2017, 10:27 AM
Sena Richmond K
Sena Richmond K - avatar
2 Respostas
+ 10
A complete line of blocks, but the inline is not the owner , for understand this mean try (two div next to each other) and (two span next to each other) .
1st Apr 2017, 10:38 AM
elias sharafi
elias sharafi - avatar
+ 3
block level elements such as P or Div create a new line in the makeup and take up the width of the container, inline such as span or strong etc go in flow with the line of text.
1st Apr 2017, 10:32 AM
Richard Rogers
Richard Rogers - avatar