Space (U+0020)
Description:
Space is a Unicode character that is usually present in between two words. This is the same character that you generate by pressing the space bar.
Shortcodes:
Unicode | U+0020 | |
---|---|---|
HTML Code |   | |
HEX Code |   | |
CSS Code | \0020 | |
Alt Code | 32 |
To type the Space character using your keyboard you can utilize the Alt Code. Simply hold down the left Alt key on your keyboard and type the number 32. After typing release the Alt key. Please note that you must type the code from the Numpad and not from the numbers that are at top. Also, make sure that your numlock is on.
If you don't have Numpad on your keyboard then copy the character from above.
To add the Space character in HTML, you can use HTML code(decimal) or HEX code. Copy the available codes from the Shortcodes table and paste it in your HTML code.
For example: Space Character
The above code will show this result: Space Character
An HEX Code can also display the character in HTML.
You can show Space character using CSS by utilizing CSS shortcode or entity.
Use :before
or :after
to insert symbol before or after an element.
Example:
.elementClass:after {
content: '\0020';
}
- More Blank Characters
- No-Break Space (U+00A0)
- Zero Width Space (U+200B)
- En Space (U+2002)
- Em Space (U+2003)
- Hangul Filler (U+3164)
- Three-Per-Em Space (U+2004)
- Four-Per-Em Space (U+2005)
- Six-Per-Em Space (U+2006)
- Figure Space (U+2007)
- Punctuation Space (U+2008)
- Thin Space (U+2009)
- Hair Space (U+200A)
- Narrow No-Break Space (U+202F)
- Medium Mathematical Space (U+205F)
- Ideographic Space (U+3000)