Dollar Sign ($)
HTML entity for the dollar sign ($). Learn how to use $ or $ in HTML for currency display, pricing, and financial content.
Currency
$
Dollar Sign
All Formats
| Format | Value |
|---|---|
| Character | $ |
| HTML Entity | $ |
| HTML Code (Decimal) | $ |
| Unicode | U+0024 |
| CSS Content | \0024 |
| Category | Currency |
About Dollar Sign
The dollar sign ($) is the currency symbol for the US dollar and is also used by many other countries including Canada, Australia, and several Latin American nations. It is one of the most recognized currency symbols worldwide.
In HTML, you can type the dollar sign directly since it is part of the ASCII character set and does not conflict with HTML syntax. However, the entity forms $, $, or $ are available when needed. The named entity $ was introduced in HTML 5 and is supported by all modern browsers.
The dollar sign is part of the Basic Latin Unicode block. While it can always be typed directly in UTF-8 encoded documents, using the HTML entity can be useful in template systems where the dollar sign has special meaning (such as in PHP or some JavaScript template literals).
In CSS, use "\0024" with the content property to insert the dollar sign via pseudo-elements. This is useful for dynamically adding currency symbols to pricing displays. The dollar sign is universally supported and accessible to screen readers, which announce it as "dollar" or "dollar sign."
Usage Examples
<!-- Using named entity -->
<p>This is the Dollar Sign: $</p>
<!-- Using numeric code -->
<p>This is the Dollar Sign: $</p>
<!-- Using the character directly (UTF-8) -->
<p>This is the Dollar Sign: $</p>
<!-- In CSS -->
.icon::before {
content: "\0024";
}FAQ
What is the HTML entity for Dollar Sign?
The Dollar Sign ($) can be inserted using the named entity $, the numeric code $, or by pasting the character directly in a UTF-8 document.
How do I use $ in CSS?
In CSS, use the content property with the value "\0024". For example: content: "\0024";
What is the Unicode code point for Dollar Sign?
The Unicode code point for Dollar Sign is U+0024. This is the universal identifier for this character across all platforms and programming languages.
Try It in the HTML Entity Tool
Use our HTML Entity Encoder & Decoder to encode and decode HTML entities, convert between named, numeric, and hex formats, and explore the full entity reference table.