whitespace
Whitespace is any string of text composed only of spaces
, tabs
, or line breaks
(CRLF
).
e.g. white-space
is used to handle what \n
would do when displayed.
/* Keyword values */ white-space: normal; white-space: nowrap; white-space: pre; white-space: pre-wrap; white-space: pre-line; white-space: break-spaces; /* Global values */ white-space: inherit; white-space: initial; white-space: unset;
CRLF
CRLF
stands for carriage returns
or line feeds
.
Line Break
= indication for end of line.
newline character
or end-of-line character
.Carriage return
= moves the cursor to the beginning of the line.
Line feed
= moves to the beginning of the next line.
CR LF
= together, they create a new line in the text data stream.
# CR = move cursor to beginning of line \r 0x0D # hexadecimal # LF = move cursor to next line \n 0x0A # hexadecimal # CR LF = move cursor to beginning of next line \r\n 0x0D0A # hexadecimal