What exactly is the difference between the
<span> element inside a
<div>. If you give the
<span> element a height of 100px and a red border for example, it will look like this with.
display:inline-block elements are like
display:inline elements, but they can have a width and height. So you can use an inline-block element as a block while flowing it within text or other elements.