The following span
has the default display: inline
setting.
This is a span with
three
child
elements.
The span flows with the text.
The text inside the span flows as a normal inline
elements.
The following span
has its display
property set to block
.
This is a span with
three
child
elements.
The span is behaving like a block element, taking up the full width of its container.
The text inside the span flows as normal inline
elements.