Skip to content

Glossary: HTML & CSS Basics

Inline element

Also written: inline, display: inline

An element such as `a`, `strong` or `span` that sits within a line of text, is only as wide as its content and ignores width and height.

Where the book teaches it

Related terms

Block elementdisplay