Exclamation Mark

!

Shortcodes

Copy and paste codes for Exclamation Mark symbol ! to use in your websites, apps, blogs, and more.

Unicode
U+0021
Alt Code
33
HTML Code
!
HEX Code
!
CSS Code
\021
JS/JSON
\u0021
Unix/C/PHP/JAVA
0x21
URL-encode
%21
copied

Customize Exclamation Mark Symbol

Customize ! symbol as you like and download Exclamation Mark as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
!
 

How to type Exclamation Mark symbol ! ?

Using Exclamation Mark Alt Code:

You can type the Exclamation Mark symbol ! using your keyboard by using the Alt Code for Exclamation Mark. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 33 using the Numpad.
  3. Release the Alt key.

This will make the ! appear on your screen.

How to add Exclamation Mark symbol in HTML, CSS, and JS?

Insert ! Exclamation Mark using HTML

1. Copy-paste Exclamation Mark directly:
<span>!</span>
2. HTML Decimal Code:
<span>&#33;</span>
3. Hexadecimal Code:
<span>&#x0021;</span>
Preview: !

Add Exclamation Mark symbol with CSS

.exclamation-mark::before {
    content: '\\021';
}
Preview: Exclamation Mark

Exclamation Mark JavaScript Code

1. Direct Symbol:
document.querySelector('.exclamation-mark').textContent = '!';
2. Unicode Escape for !:
document.querySelector('.exclamation-mark').textContent = '\u0021';
Preview: !