Skip to content

Glossary: HTML & CSS Basics

display

Also written: display property, display: inline-block, inline-block

A CSS property that sets how an element is laid out, for example `block`, `inline`, `inline-block` (sits in a line but accepts width and height), `flex` or `grid`.

Where the book teaches it

Related terms

Block elementInline elementFlexbox