New! My 44-page ebook "CSS in 44 minutes" is out! 😃
Defines how the element's white space is handled.
Sequences of spaces are combined into one.Line breaks are ignored.The text content is wrapped.
Sequences of spaces are combined into one.Line breaks are ignored.The text content is not wrapped and remains on a single line.
The white space is exactly preserved.
The white space is mostly preserved.
Only new lines are preserved.
Share this CSS property
Share on Twitter
Share on Facebook