₂
Technical information
Symbol | ₂ | |
Name | Subscript two | |
Unicode number | U+2082 | |
Category | Subscript and superscriptSubscript numbers |
Description | The Unicode character ₂, or U+2082, is known as "Subscript Two". This character belongs to the "Superscripts and Subscripts" block, which contains characters frequently used in mathematical and scientific notation. It is categorized under the "Number, Other" group. Visually, it represents the digit two in a smaller font size and positioned slightly below the baseline, following the conventional style for subscript characters. In mathematical and scientific contexts, the subscript two is typically used to indicate a lower-index number or variable. For instance, in the chemical formula for water, H₂O, the subscript two indicates that there are two hydrogen atoms. As with other subscript and superscript characters, its specific meaning can vary greatly depending on context. |
Encoding
HTML Entity | ₂ | |
HTML Entity (hex) | ₂ | |
URL Escape Code | %E2%82%82 | |
UTF-8 (hex) | 0xE2 0x82 0x82 | |
UTF-8 (binary) | 11100010:10000010:10000010 | |
UTF-16 | 0x2082 | |
UTF-32 | 0x00002082 |
Source Code
C, C++, and Java | "\u2082" | |
CSS Code | \2082 | |
JavaScript | "\u2082" | |
Perl | \x{2082} | |
Python 2 | u"\u2082" | |
Python 3 | \u2082 | |
Ruby | \u{2082} |
Preview
This Unicode character looks like this ₂ in sentence and in bold like this ₂ and in italic like this ₂.
input-group
Font size:
₂
12px
₂
16px
₂
20px
₂
28px
₂
36px
₂
48px
₂
72px
CSS Property: font-weight
₂
100
₂
200
₂
300
₂
400
₂
500
₂
600
₂
700
₂
800
₂
900
HTML Forms and Input
input
disabled input
₂
select
button
button
Code examples in HTML and CSS
The symbol in different fonts
₂
-apple-system
₂
Apple Color Emoji
₂
Arial
₂
BlinkMacSystemFont
₂
Courier New
₂
Georgia
₂
Droid Sans
₂
Helvetica
₂
Noto Sans
₂
Oxygen
₂
Roboto
₂
"Segoe UI"
₂
sans-serif
₂
Segoe UI Emoji
₂
Segoe UI Symbol
₂
system-ui
₂
Times New Roman
₂
Ubuntu
₂
Verdana