Home
CSS
CSS Text
Text Spacing
Tryit: Using white-space
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> p { white-space: nowrap; } </style> </head> <body> <h1>Using white-space</h1> <p> This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. This is some text that will not wrap. </p> <p>Try to remove the white-space property to see the difference!</p> </body> </html>