Whitespace
Syntax: | white-space: <value> |
---|---|
Possible Values: | normal | pre | nowrap |
Initial Value: | normal |
Applies to: | Block-level elements |
Inherited: | Yes |
The white-space property will determine how spaces within the element are treated. This property takes one of three values:
- normal (collapses multiple spaces into one)
- pre (does not collapse multiple spaces)
- nowrap (does not allow line wrapping without a <BR> tag)