Exclamation mark (!) is the Unicode character at U+0021 in Basic Latin. Official name: EXCLAMATION MARK. HTML5 names it !. In everyday HTML you can type ! on the keyboard.
Remember
Character !
Unicode U+0021
Named entity !
Hex entity !
Decimal !
CSS escape \21
Not the same ¡ (¡) · ‼ (double) · ⁉ (excl+question)
Prefer typing ! in HTML text. Use !, !, or ! when you want an explicit entity form.
Built with Named: !
Built with Hex: !
Built with Decimal: !
Built with CSS: !
Typed: !
Sentence: Watch out!
How It Works
1. Named:! is the HTML5 name for U+0021 → !.
2. Hex:! inserts the same code point. Same visual as named.
3. Decimal: same code point as 33 → !.
4. CSS: use \21 (or a literal !) in content. #point::after appends !.
5. Typed: press ! on the keyboard, or write a sentence like Watch out!.
Pitfalls & Tips
Common mistakes when working with Exclamation mark.
Type it
Prefer a real !
In everyday HTML, type ! directly. Use ! when you want the named form for clarity or tooling.
Case
! is case-sensitive
Write !, not &Excl;. Invalid names may show as literal text.
¡
Not inverted exclamation
U+00A1 (¡) is ¡ — used at the start of Spanish exclamations.
‼
Not double exclamation
U+203C (‼) is a single double-exclamation character — not two ! characters.
CSS vs HTML
Do not mix escapes
\21 belongs in CSS strings. ! / ! / ! belong in HTML.
Semicolon
End references
Always finish entities with ; — write !, not &excl.
Compatibility
Browser Support
Exclamation mark (U+0021) and its entity forms (!, !, !, CSS \\21) are supported in all mainstream browsers. As a Basic Latin character, the glyph is available in essentially every text font.
✓ Universal support
Exclamation Mark (!)
Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+0021 / !Full support
Bottom line: Prefer typing ! in HTML text. Use ! / ! / ! when an entity is required, and \\21 only inside CSS content.
Remember
Key Takeaways
Unicode: exclamation mark is U+0021 (decimal 33) — glyph !.
HTML: type !, or use ! / ! / !.
CSS: use \21 or "!" inside content.
Meaning: ! ≠ inverted ¡ ≠ double ‼.
One line:U+0021 → type ! / ! / CSS \21.
Frequently Asked Questions
Type ! directly in UTF-8, or use ! (named), ! (hex), ! (decimal), or the CSS escape \21 in content.
U+0021 (EXCLAMATION MARK). Hex 21, decimal 33. It belongs to the Basic Latin block (U+0000–U+007F).
Yes. ! is the HTML5 named entity for U+0021. It is case-sensitive — &Excl; is not valid.
Use it for emphasis, alerts, and ordinary English punctuation. Prefer ¡ (¡) for Spanish inverted exclamation, and U+203C for a double exclamation glyph.
HTML entities (!, !, or !) go in markup. The CSS escape \21 goes in stylesheet strings (usually content on ::before/::after).
No. U+0021 is ! (exclamation mark). U+00A1 is ¡ (inverted exclamation). U+203C is ‼ (double exclamation).
🤔
Did you know?
Exclamation mark is Unicode U+0021 (decimal 33) — glyph ! (EXCLAMATION MARK) in Basic Latin. HTML5 names it !. In normal text you can type ! directly. Related forms include inverted exclamation (¡, ¡) and double exclamation (‼).