|

Technical information

Symbol|
NameVertical line
Unicode numberU+007C
CategoryASCII Table8. ASCII punctuation and symbols
DescriptionThe Unicode character |, or U+007C, is known as the "Vertical Line". It falls under the "Basic Latin" block and the "Math Symbol" category in the Unicode standard. This character is typically used in mathematics to denote a division or a boundary. It can also be used in computing to represent logical OR in many programming languages, or in shell scripting to denote piping from one command to another. Additionally, it is also commonly used in written language to separate items within a list, especially if the items themselves contain commas.

Encoding

HTML Entity|
HTML Entity (hex)|
HTML Entity (named)|
URL Escape Code%7C
UTF-8 (hex)0x7C
UTF-8 (binary)01111100
UTF-160x007C
UTF-320x0000007C

Source Code

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

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

            
span {
    content: "\007C";
}

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