Are there any HTML elements that default to "display:inline-block"?

html

Solution

From the sample stylesheet for HTML 4: `button`, `textarea`, `input`, and `select` default to `inline-block`, but they aren't generic containers so (presumably given you are talking about alternatives to `div` and `span`) don't suit your needs.

There are no generic containers that default to `inline-block`.

Don't worry about how dirty the default rendering feels to you, it is the semantics that matter.

Problem

Changing a div or span tag to inline-block feels so dirty. There must be a cleaner solution! i don't found any HTML element that default to "display:inline-block" thanks in advance

Original source