CSS White Space
The CSS white-space property controls how content is displayed within an element. It manages how white spaces inside the element are handled.
CSS White Space Values
There are several white-space values available to control how content is displayed inside an element.
CSS White Space Example
<!DOCTYPE html>
<html>
<head>
<style>
p {
white-space: nowrap;
}
</style>
</head>
<body>
<p>
Write some text... Write some text... Write some text...
Write some text... Write some text... Write some text...
Write some text... Write some text... Write some text...
Write some text... Write some text... Write some text...
Write some text... Write some text... Write some text...
</p>
</body>
</html>