-
Technical information
Symbol | - | |
Name | Hyphen-minus | |
Unicode number | U+002D | |
Category | ASCII Table2. ASCII punctuation and symbols |
Description | The Unicode character -, or U+002D, is known as the "Hyphen-Minus". It falls under the "Basic Latin" block and the "Dash, Punctuation" category in the Unicode standard. The hyphen-minus is used in various ways in different contexts. It can function as a hyphen to connect words in writing, as a minus sign in mathematical equations, or to indicate a range between numbers, among other uses. It's a versatile character and one of the most common in any form of written communication. |
Encoding
HTML Entity | - | |
HTML Entity (hex) | - | |
URL Escape Code | - | |
UTF-8 (hex) | 0x2D | |
UTF-8 (binary) | 00101101 | |
UTF-16 | 0x002D | |
UTF-32 | 0x0000002D |
Source Code
C, C++, and Java | "\u002D" | |
CSS Code | \002D | |
JavaScript | "\u002D" | |
Perl | \x{002D} | |
Python 2 | u"\u002D" | |
Python 3 | \u002D | |
Ruby | \u{002D} |
Preview
This Unicode character looks like this - in sentence and in bold like this - and in italic like this -.
input-group
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
-
select
button
button
Code examples in HTML and CSS
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