!

Technical information

Symbol!
NameExclamation mark
Unicode numberU+0021
CategoryExclamation markASCII Table2. ASCII punctuation and symbols
DescriptionThe Unicode character !, or U+0021, is known as the "Exclamation Mark". It falls under the "Basic Latin" block and the "Punctuation" category in the Unicode standard. This punctuation mark is used at the end of a sentence to express strong feelings or high volume or to show emphasis, and is often found in various forms of literature and digital content. It can also be used in mathematics to denote a factorial operation. The exclamation mark is also prevalent in programming languages, where it can denote logical negation.

Encoding

HTML Entity!
HTML Entity (hex)!
HTML Entity (named)!
URL Escape Code%21
UTF-8 (hex)0x21
UTF-8 (binary)00100001
UTF-160x0021
UTF-320x00000021

Source Code

C, C++, and Java"\u0021"
CSS Code\0021
JavaScript"\u0021"
Perl\x{0021}
Python 2u"\u0021"
Python 3\u0021
Ruby\u{0021}

Preview

This Unicode character looks like this ! in sentence and in bold like this ! and in italic like this !.

Font size:

!
12px
!
16px
!
20px
!
28px
!
36px
!
48px
!
72px

CSS Property: font-weight

!
100
!
200
!
300
!
400
!
500
!
600
!
700
!
800
!
900

HTML Forms and Input

input
disabled input
!
input-group
select
button
button

Code examples in HTML and CSS

<span>&#33;</span>

            
span {
    content: "\0021";
}

The symbol in different fonts

!
-apple-system
!
Apple Color Emoji
!
Arial
!
BlinkMacSystemFont
!
Courier New
!
Georgia
!
Droid Sans
!
Helvetica
!
Noto Sans
!
Oxygen
!
Roboto
!
"Segoe UI"
!
sans-serif
!
Segoe UI Emoji
!
Segoe UI Symbol
!
system-ui
!
Times New Roman
!
Ubuntu
!
Verdana

References