A span
is an inline
element and div
is a block
element. Is there a 'native' (X)HTML / HTML5 inline-block
element that can act like a container? (Without applying CSS)
Definitions:
block
This value causes an element to generate a block box.
inline-block
This value causes an element to generate an inline-level block container. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an atomic inline-level box.
inline
This value causes an element to generate one or more inline boxes.