Disable text wrapping within an element
This example demonstrates:
How to prohibit text wrapping
Example analysis:
The white-space attribute specifies how to handle whitespace within the element.
You can set the following attribute values:
●Normal: By default, blank spaces will be ignored by the browser.
● pre: White space will be retained by the browser, and its behavior is similar to the <pre> tag in HTML.
● nowrap: The text will not wrap. The text will continue on the same line until the <br> tag is encountered.
● pre-wrap: Keep the whitespace sequence, but wrap normally.
● pre-line: Combine whitespace character sequences, but retain newline characters.