Web platform features explorer

white-space-collapse

Newly available since 2024-03-19
Tags: css Groups: CSS > White space

The white-space-collapse CSS property sets whether new line characters are shown as line breaks, and whether multiple consecutive spaces are all displayed or combined.

Learning resources on MDN

Browser support

Usage (according to Chrome Platform Status)

~0.672% of page loads. More data at chromestatus.