Which Characters are Considered "Whitespace Characters" in HTML?

List of whitespace characters in HTML

Whitespace refers to a set of characters that can be used to add horizontal or vertical space between characters. These characters and their usage vary among different languages. In HTML, the following characters are considered whitespace characters:

Character Unicode/ASCII Decimal
Horizontal Tab U+0009 9
New Line, Line Feed or End-of-Line U+000A 10
Form Feed U+000C 12
Carriage Return U+000D 13
Space U+0020 32

Please note that you can easily create an HTML entity from the Unicode hexadecimal or decimal character references.


Hope you found this post useful. It was published . Please show your love and support by sharing this post.