Skip to content
Icon Pantry

Horizontal bar symbol ―

The horizontal bar (quotation dash), used to introduce quotations and dialogue.

―
Symbol
Unicode
HTML entity
HTML code
CSS

Need it as an icon?

Related symbols

How to type the horizontal bar symbol

How do I type the horizontal bar symbol?

The easiest way is to copy it from this page and paste it. On iPhone and Android, copy it here and paste, or add it as a keyboard text replacement.

How do I insert the horizontal bar symbol in Word?

Type 2015 and then press Alt+X, and Word turns it into ―. You can also use Insert, Symbol.

What is the HTML code for the horizontal bar symbol?

Use ― or ― in HTML, or \2015 in CSS content.