add space between text html code example Example: how to add spaces between text in html p { white-space: pre; }