Skip to content

Horizontal Bar

Group: Punctuation

Keywords

About this character

Horizontal Bar belongs to the Punctuation group and is encoded at U+2015. It was added in Unicode 0.0.

Shortcode

Chat apps such as Slack, Discord and GitHub accept this shortcode instead of the character itself.

Technical codes

Code point
U+2015
Hex
2015
Decimal
8213
HTML
―
CSS
\2015
JavaScript
\u2015
Python
\u2015
UTF-8
E2 80 95

The same character is drawn differently by each operating system and font.

Related