Box Drawings Light Horizontal

Shortcodes

Copy and paste codes for Box Drawings Light Horizontal symbol ─ to use in your websites, apps, blogs, and more.

Unicode
U+2500
Alt Code
196
HTML Code
─
HEX Code
─
CSS Code
\2500
JS/JSON
\u2500
Unix/C/PHP/JAVA
0x2500
URL-encode
%E2%94%80
copied

Customize Box Drawings Light Horizontal Symbol

Customize ─ symbol as you like and download Box Drawings Light Horizontal 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 type Box Drawings Light Horizontal symbol ─ ?

Using Box Drawings Light Horizontal Alt Code:

You can type the Box Drawings Light Horizontal symbol ─ using your keyboard by using the Alt Code for Box Drawings Light Horizontal. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 196 using the Numpad.
  3. Release the Alt key.

This will make the ─ appear on your screen.

How to add Box Drawings Light Horizontal symbol in HTML, CSS, and JS?

Insert ─ Box Drawings Light Horizontal using HTML

1. Copy-paste Box Drawings Light Horizontal directly:
<span>─</span>
2. HTML Decimal Code:
<span>&#9472;</span>
3. Hexadecimal Code:
<span>&#x2500;</span>
Preview:

Add Box Drawings Light Horizontal symbol with CSS

.box-drawings-light-horizontal::before {
    content: '\\2500';
}
Preview: Box Drawings Light Horizontal

Box Drawings Light Horizontal JavaScript Code

1. Direct Symbol:
document.querySelector('.box-drawings-light-horizontal').textContent = '─';
2. Unicode Escape for ─:
document.querySelector('.box-drawings-light-horizontal').textContent = '\u2500';
Preview: