p.a { white-space: nowrap; } p.b { white-space: normal; } p.c { white-space: pre; }
<!-- Add leading white space in front of text --> Hello World <!-- Output: ' Hello World' -->
Html whitespace