2

Technical information

Symbol2
NameDigit two
Unicode numberU+0032
CategoryASCII Table3. ASCII digits

Encoding

HTML Entity2
HTML Entity (hex)2
URL Escape Code2
UTF-8 (hex)0x32
UTF-8 (binary)00110010
UTF-160x0032
UTF-320x00000032

Source Code

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

Preview

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

Font size:

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

CSS Property: font-weight

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

HTML Forms and Input

input
disabled input
2
input-group
select
button
button

Code examples in HTML and CSS

<span>&#50;</span>

            
span {
    content: "\0032";
}

The symbol in different fonts

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

References