Skip to content

Glossary: Web Performance

Reserving space (width and height)

Also written: aspect-ratio, width and height attributes

Giving images, embeds and banners a known shape (width and height attributes, aspect-ratio or min-height) so the browser keeps room for them before they load. This stops layout shifts.

Where the book teaches it

Related terms

Layout shiftCLS (Cumulative Layout Shift)