Whitespace
Whitespace refers to characters which are used to provide horizontal or vertical space between other characters. Whitespace is often used to separate tokens in HTML, CSS, JavaScript, and other computer languages.
Whitespace refers to characters which are used to provide horizontal or vertical space between other characters. Whitespace is often used to separate tokens in HTML, CSS, JavaScript, and other computer languages.
Whitespace characters and their usage vary among languages.
In HTML
The Infra Living Standard defines five characters as "ASCII whitespace": U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, and U+0020 SPACE.
In JavaScript
The ECMAScript Language Specification defines several Unicode code points as "white space": U+0009 CHARACTER TABULATION \
See also
- Whitespace character on Wikipedia
- Handling whitespace in CSS
- white-space
- Specifications:
- ASCII whitespace spec
- ECMAScript Language Specification
- Related glossary terms:
- Character