Technical information

Symbol
Nameblack heart suit
Unicode numberU+2665
CategoryCardsHeart Symbols

Encoding

HTML Entity♥
HTML Entity (hex)♥
HTML Entity (named)
URL Escape Code%E2%99%A5
UTF-8 (hex)0xE2 0x99 0xA5
UTF-8 (binary)11100010:10011001:10100101
UTF-160x2665
UTF-320x00002665

Source Code

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

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>&#9829;</span>

            
span {
    content: "\2665";
}

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