Inline
noun
say it: “IN-lyne” /ˈɪnlaɪn/
An element that sits inside a line of text and is only as wide as its content, like a link or span.
What is an inline element in CSS?
An inline element sits within a line of text and is only as wide as its content, like <a>, <span> and <strong>.
li { display: inline; } /* list items side by side, like a menu */
In a sentence
- “The strong element is inline, so the bold word stays in the middle of the sentence.”
Level: Novice · More CSS terms at this level
Updated