Skip to content
Icon Pantry

Horizontal line symbol ─

The horizontal line (─), a box drawing character for tables, borders, tree diagrams and text art in monospaced text.

─
Symbol
Unicode
HTML entity
HTML code
CSS

Need it as an icon?

Related symbols

How to type the horizontal line symbol

How do I type the horizontal line 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 line symbol in Word?

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

What is the HTML code for the horizontal line symbol?

Use ─ or ─ in HTML, or \2500 in CSS content.