Digit Eight

8

Shortcodes

Copy and paste codes for Digit Eight symbol 8 to use in your websites, apps, blogs, and more.

Unicode
U+0038
Alt Code
56
HTML Code
8
HEX Code
8
CSS Code
\038
JS/JSON
\u0038
Unix/C/PHP/JAVA
0x38
URL-encode
8
copied

Customize Digit Eight Symbol

Customize 8 symbol as you like and download Digit Eight 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.
8

                        
                    

How to type Digit Eight symbol 8 ?

Using Digit Eight Alt Code:

You can type the Digit Eight symbol 8 using your keyboard by using the Alt Code for Digit Eight. 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 56 using the Numpad.
  3. Release the Alt key.

This will make the 8 appear on your screen.

How to add Digit Eight symbol in HTML, CSS, and JS?

Insert 8 Digit Eight using HTML

1. Copy-paste Digit Eight directly:
<span>8</span>
2. HTML Decimal Code:
<span>&#56;</span>
3. Hexadecimal Code:
<span>&#x0038;</span>
Preview: 8

Add Digit Eight symbol with CSS

.digit-eight::before {
    content: '\\038';
}
Preview: Digit Eight

Digit Eight JavaScript Code

1. Direct Symbol:
document.querySelector('.digit-eight').textContent = '8';
2. Unicode Escape for 8:
document.querySelector('.digit-eight').textContent = '\u0038';
Preview: 8