Space (U+0020) | The Most Used Invisible Character
The space character (U+0020) is the most common separator in digital text. Here's what makes it special.
Table of Contents
What Is the Space Character (U+0020)?
The Space (U+0020) is a Unicode whitespace character used to create gaps between words or elements in digital text. Generated by pressing the spacebar, it’s invisible but essential for readability and formatting.
Space Character Shortcodes (Quick Reference)
Type | Code |
---|---|
Unicode | U+0020 |
HTML Code | or (non-breaking) |
HEX Code | |
CSS Code | \0020 |
ALT Code | Hold Alt + 32 (Numpad required) |
How to Type the Space Character?
1. Keyboard Shortcut (Alt Code)
- Windows: Hold
Alt
, type32
on the Numpad, releaseAlt
.
(Ensure NumLock is ON.) - Mac/Linux: Use the spacebar or Unicode input (
Ctrl+Shift+U
then0020
).
2. Copy-Paste Method
Copy from here: (highlight the gap between quotes) or use the table above.
How to Add Space in HTML & CSS?
HTML Methods
- Regular Space:
Space Character
→Space Character
- Non-Breaking Space (
10 PM
).
CSS Method
css
.insert-space::after { content: '\0020'; /* Adds space after an element */ }
Important Notes About U+0020
- Non-Breaking Space (
U+00A0
): - Zero-Width Space (
U+200B
): Invisible separator for coding/text-wrapping. - Accessibility: Screen readers ignore extra spaces; use