:
Technical information
Symbol | : | |
Name | Colon | |
Unicode number | U+003A | |
Category | ASCII Table4. ASCII punctuation and symbols |
Description | The Unicode character :, or U+003A, is known as the "Colon". It belongs to the "Basic Latin" block and falls under the "Punctuation, Connector" category in the Unicode standard. The colon is widely used in written language to introduce a list, a quote, or a speech. It's also used in the representation of time (e.g., 12:00 for twelve o'clock), in ratios (e.g., 1:2), and in biblical references (e.g., Genesis 1:1). Additionally, in programming and digital contexts, it is used in URLs, as a delimiter in Python dictionaries, and to denote a scope in some programming languages. Its usage extends to mathematical notation and several other contexts, making it a versatile punctuation mark. |
Encoding
HTML Entity | : | |
HTML Entity (hex) | : | |
HTML Entity (named) | : | |
URL Escape Code | %3A | |
UTF-8 (hex) | 0x3A | |
UTF-8 (binary) | 00111010 | |
UTF-16 | 0x003A | |
UTF-32 | 0x0000003A |
Source Code
C, C++, and Java | "\u003A" | |
CSS Code | \003A | |
JavaScript | "\u003A" | |
Perl | \x{003A} | |
Python 2 | u"\u003A" | |
Python 3 | \u003A | |
Ruby | \u{003A} |
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