The `display` value that behaves like an inline element while accepting block-style dimensions and spacing is `inline-block`.
An inline-block box stays in the surrounding line, so neighboring content can appear beside it when space permits. Unlike a normal inline box, however, its `width` and `height` are respected, and its padding, borders, and margins can be applied as a complete box. This makes it useful for navigation links, badges, buttons, and compact interface controls.
The value combines an inline outer display type with a block-like inner formatting context. In the modern two-keyword CSS model, `inline-block` is equivalent to `inline flow-root`. It also establishes a block formatting context for its contents, which helps contain internal floats.
`block` forces line breaks and occupies block flow, while `inline` does not honor width and height in the usual way. `inline-flex` is a related but different value: it remains inline externally but lays out its children with Flexbox. Thus, `inline-flex` can be appropriate for aligned components, but it is not the canonical answer to this wording.