Fullwidth Digit Two

Shortcodes

Copy and paste codes for Fullwidth Digit Two symbol 2 to use in your websites, apps, blogs, and more.

Unicode
U+FF12
HTML Code
2
HEX Code
2
CSS Code
\FF12
JS/JSON
\uFF12
Unix/C/PHP/JAVA
0xFF12
URL-encode
%EF%BC%92
copied

Customize Fullwidth Digit Two Symbol

Customize 2 symbol as you like and download Fullwidth Digit Two 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 Fullwidth Digit Two symbol in HTML, CSS, and JS?

Insert 2 Fullwidth Digit Two using HTML

1. Copy-paste Fullwidth Digit Two directly:
<span>2</span>
2. HTML Decimal Code:
<span>&#65298;</span>
3. Hexadecimal Code:
<span>&#xFF12;</span>
Preview:

Add Fullwidth Digit Two symbol with CSS

.fullwidth-digit-two::before {
    content: '\\FF12';
}
Preview: Fullwidth Digit Two

Fullwidth Digit Two JavaScript Code

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