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>&#8232;</span>
3. Hexadecimal Code:
<span>&#x2028;</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: