Digit Six

6

Shortcodes

Copy useful codes for digit six symbol 6 to use in websites, apps, blogs, and docs.

Unicode
U+0036
Alt Code
54
HTML Code
6
HEX Code
6
CSS Code
\0036
JS/JSON
\u0036
Unix/C/PHP/JAVA
0x36
URL-encode
6

Customize Digit Six

Customize 6, download it as SVG or PNG, or copy the generated HTML snippet.

6
  

How to use Digit Six Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>6</span>
HTML Code:
<span>&#54;</span>
HEX Code:
<span>&#x0036;</span>

Add with CSS

.digit-six::before {
  content: '\\0036';
}

Set it in JavaScript

document.querySelector('.digit-six').textContent = '6';
copied