1

Technical information

Symbol1
NameDigit one
Unicode numberU+0031
CategoryASCII Table3. ASCII digits
DescriptionThe Unicode character 1, or U+0031, is known as the "Digit One". It belongs to the "Basic Latin" block and falls under the "Decimal Number" category in the Unicode standard. This character is a graphical representation of the numerical value one, used in virtually all number systems and numerical notations. The specific appearance of this character can depend on the font and system it's being used in, but it typically resembles a single vertical line or a line with a serif at the top. It is used in countless contexts, from mathematics to date and time notation, identification numbers, and more.

Encoding

HTML Entity1
HTML Entity (hex)1
URL Escape Code1
UTF-8 (hex)0x31
UTF-8 (binary)00110001
UTF-160x0031
UTF-320x00000031

Source Code

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

Preview

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

Font size:

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

CSS Property: font-weight

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

HTML Forms and Input

input
disabled input
1
input-group
select
button
button

Code examples in HTML and CSS

<span>&#49;</span>

            
span {
    content: "\0031";
}

The symbol in different fonts

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

References