Technical information

Symbol
NameMusic sharp sign
Unicode numberU+266F
CategoryAccidentals
DescriptionThe Unicode character ♯, or U+266F, is known as the "Music Sharp Sign". It belongs to the "Miscellaneous Symbols" block and falls under the "Symbol, Other" category in the Unicode standard. This character is a graphic representation of the sharp symbol used in music notation, which instructs to play the note a semitone higher in pitch. It can be used in digital communications to represent this music notation or metaphorically to indicate a sharp or elevated tone. The specific appearance and usage of this character can depend on the system and application it's being used in.

Encoding

HTML Entity♯
HTML Entity (hex)♯
HTML Entity (named)
URL Escape Code%E2%99%AF
UTF-8 (hex)0xE2 0x99 0xAF
UTF-8 (binary)11100010:10011001:10101111
UTF-160x266F
UTF-320x0000266F

Source Code

C, C++, and Java"\u266F"
CSS Code\266F
JavaScript"\u266F"
Perl\x{266F}
Python 2u"\u266F"
Python 3\u266F
Ruby\u{266F}

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

            
span {
    content: "\266F";
}

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