4

Technical information

Symbol4
NameDigit four
Unicode numberU+0034
CategoryASCII Table3. ASCII digits

Encoding

HTML Entity4
HTML Entity (hex)4
URL Escape Code4
UTF-8 (hex)0x34
UTF-8 (binary)00110100
UTF-160x0034
UTF-320x00000034

Source Code

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

Preview

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

Font size:

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

CSS Property: font-weight

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

HTML Forms and Input

input
disabled input
4
input-group
select
button
button

Code examples in HTML and CSS

<span>&#52;</span>

            
span {
    content: "\0034";
}

The symbol in different fonts

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

References