Line Separator
Shortcodes
Copy and paste codes for Line Separator symbol to use in your websites, apps, blogs, and more.
Unicode
U+2028
HTML Code


HEX Code


CSS Code
\2028
JS/JSON
\u2028
Unix/C/PHP/JAVA
0x2028
URL-encode
%E2%80%A8
copied
Customize Line Separator Symbol
Customize symbol as you like and download Line Separator as SVG or PNG or copy its HTML code to use in your projects.
Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
How to add Line Separator symbol in HTML, CSS, and JS?
Insert Line Separator using HTML
1. Copy-paste Line Separator directly:
<span>
</span>
2. HTML Decimal Code:
<span>
</span>
3. Hexadecimal Code:
<span>
</span>
Preview:
Add Line Separator symbol with CSS
.line-separator::before {
content: '\\2028';
}
Preview: Line Separator
Line Separator JavaScript Code
1. Direct Symbol:
document.querySelector('.line-separator').textContent = '
';
2. Unicode Escape for :
document.querySelector('.line-separator').textContent = '\u2028';
Preview:
Related Invisible Characters
View all Invisible Characters
Left-to-right Embedding
Right-to-left Embedding
Left-to-right Override
Right-to-left Override
Pop Directional Formatting
En Quad
Em Quad
Three-per-em Space
Four-per-em Space
Six-per-em Space
Figure Space
Punctuation Space
Hair Space
Medium Mathematical Space
Form Feed
Group Separator
Soft Hyphen
️
Variation Selector-16
︀
Variation Selector-1
Word Joiner
Function Application
Invisible Times
Invisible Separator
Invisible Plus
Left-to-right Isolate
Right-to-left Isolate
First Strong Isolate
Pop Directional Isolate
Arabic Letter Mark
͏
Combining Grapheme Joiner
ᅟ
Hangul Choseong Filler
ᅠ
Hangul Jungseong Filler