Technical information

Symbol
NameBox drawings light horizontal
Unicode numberU+2500
CategoryLight lines
DescriptionThe Unicode character ─, or U+2500, is known as the "Box Drawings Light Horizontal". It belongs to the "Box Drawing" block and falls under the "Symbol, Other" category in the Unicode standard. This character is a straight, horizontal line that is often used to create borders or boxes in text user interfaces, diagrams, or tables. While its actual visual presentation can vary depending on the typeface used, it is generally presented as a thin, unbroken line extending from left to right. It can be combined with other box-drawing characters to create more complex shapes.

Encoding

HTML Entity─
HTML Entity (hex)─
HTML Entity (named)
URL Escape Code%E2%94%80
UTF-8 (hex)0xE2 0x94 0x80
UTF-8 (binary)11100010:10010100:10000000
UTF-160x2500
UTF-320x00002500

Source Code

C, C++, and Java"\u2500"
CSS Code\2500
JavaScript"\u2500"
Perl\x{2500}
Python 2u"\u2500"
Python 3\u2500
Ruby\u{2500}

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

            
span {
    content: "\2500";
}

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