Digit One

1

Shortcodes

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

Unicode
U+0031
Alt Code
49
HTML Code
1
HEX Code
1
CSS Code
\031
JS/JSON
\u0031
Unix/C/PHP/JAVA
0x31
URL-encode
1
copied

Customize Digit One Symbol

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

                        
                    

How to type Digit One symbol 1 ?

Using Digit One Alt Code:

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

This will make the 1 appear on your screen.

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

Insert 1 Digit One using HTML

1. Copy-paste Digit One directly:
<span>1</span>
2. HTML Decimal Code:
<span>&#49;</span>
3. Hexadecimal Code:
<span>&#x0031;</span>
Preview: 1

Add Digit One symbol with CSS

.digit-one::before {
    content: '\\031';
}
Preview: Digit One

Digit One JavaScript Code

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