DEV Community

Discussion on: Differences between html inline and blocks elements.

Collapse
 
merri profile image
Vesa Piittinen

If wondering about inline-block you can think of it as a single character. This is why vertical-align can be used to control them. Add some reference characters if you need to learn how vertical-align works.

Also images by default are pretty much inline-block, thus equivalent of a single character no matter how big the image is.