The text-wrap property specifies line breaking rules for text. This property is not supported by any major browsers at the moment of writing this tutorial.
text-wrap: normal | none | unrestricted |suppress | initial | inherit;
Following values are permitted for the text-wrap property:
- normal; Lines may break only at allowed break points.
- unrestricted; Lines may break between any two characters.
- suppress; Line breaking is suppressed within the element. The browser may only break lines within the element if there are no other valid break points in the line.
- none; Lines may not break but text that does not fit in the element, overflows it.
- initial, inherit
The text-wrap property example with all four values: