Technical information

Symbol
NameBox drawings light vertical
Unicode numberU+2502
CategoryLight lines
DescriptionThe Unicode character │, or U+2502, is known as the "Box Drawings Light Vertical". It belongs to the "Box Drawing" block and falls under the "Symbol, Other" category in the Unicode standard. This character is a graphic representation of a light vertical line. It is commonly used to design box-like structures in text mode applications, like in old DOS-based applications or in representing simple diagrams in plain text documents. The specific appearance and usage of this character can depend on the system and application it's being used in.

Encoding

HTML Entity│
HTML Entity (hex)│
HTML Entity (named)
URL Escape Code%E2%94%82
UTF-8 (hex)0xE2 0x94 0x82
UTF-8 (binary)11100010:10010100:10000010
UTF-160x2502
UTF-320x00002502

Source Code

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

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

            
span {
    content: "\2502";
}

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