Web platform features explorer

white-space

Widely available since 2018-01-29
Tags: css svg Groups: CSS > White space

The white-space CSS property sets how white space is collapsed and how lines wrap. It is a shorthand for white-space-collapse and text-wrap-mode.

Learning resources on MDN

Browser support