Dollar sign ($) is the Unicode character at U+0024 in the Basic Latin (ASCII) block. Official name: DOLLAR SIGN. It is the standard currency symbol for dollars (USD and several other currencies).
Remember
Character $
Unicode U+0024
Named entity $
Hex entity $
Decimal $
CSS escape \24
Not the same ¤ · € · ¢
Prefer typing $ or $ in HTML markup. Numeric forms work the same when you need an entity for consistency with other currency pages.
Symbol using Named Entity: $
Symbol using Hex Code: $
Symbol using HTML Code: $
Symbol using CSS Entity: $
Typed directly: $
Example: Price $99.00
How It Works
1. Named:$ is the HTML5 name for U+0024 → $. Useful when you want a readable entity.
2. Hex:U+0024 → $ in HTML. Same glyph as the named form.
3. Decimal: same code point as 36 → $. Same result as hex and named.
4. CSS: use \24 in content (not an HTML entity). #point::after appends that $ after the paragraph text. You can also write content: "$".
5. Typed / example: paste $ in UTF-8, or write $99.00 for a price.
Pitfalls & Tips
Common mistakes when working with Dollar Sign.
ASCII
Typing $ is fine
Unlike many math symbols, dollar is ASCII. You do not need an entity unless you prefer one for consistency.
¤
Not the generic currency sign
¤ (¤) is a generic currency glyph. Use $ for dollars.
Locale
Say which dollar
Several countries use $. Add USD, CAD, or similar when the currency must be unambiguous.
CSS vs HTML
Do not mix escapes
\24 belongs in CSS strings. $ / $ / $ belong in HTML.
Other langs
Special in some languages
In PHP, shell, and template strings, $ can start a variable. That is outside HTML — escape according to that language when needed.
Semicolon
End references
Always finish named/numeric forms with ; — write $, not &dollar.
Compatibility
Browser Support
Dollar sign (U+0024) and its entity forms ($, $, $, CSS \\24) are supported in all mainstream browsers. As ASCII, the glyph is available in essentially every font.
✓ Universal support
Dollar Sign ($)
Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+0024 / entitiesFull support
Bottom line: Prefer typing $ or $ in HTML. Use $ or $ when numeric form is required, and \\24 only inside CSS content.
Remember
Key Takeaways
Unicode: dollar sign is U+0024 (decimal 36) — glyph $.
HTML: type $, or use $ / $ / $.
CSS: use \24 or "$" inside content for generated text.
Meaning:$ = dollar — not ¤, €, or ¢.
One line:U+0024 → type $ / $ / $ / $ / CSS \24.
Frequently Asked Questions
Type $ directly, or use $ (named), $ (hex), $ (decimal), or the CSS escape \24 in content. Prefer typing $ or $ in normal HTML.
U+0024 (DOLLAR SIGN). Hex 24, decimal 36. It belongs to the Basic Latin (ASCII) block (U+0000–U+007F).
Yes. Use $. Numeric forms $ and $ also work. Typing $ is fine in UTF-8 documents.
Use it for prices, currency labels, and any text that needs the dollar sign. Prefer clear currency text (USD) when accessibility or locale clarity matters.
HTML entities ($, $, or $) go in markup. The CSS escape \24 goes in stylesheet strings (usually content on ::before/::after).
No. $ is U+0024 (dollar). ¤ is U+00A4 (currency sign). € is U+20AC (euro sign). Use the symbol that matches the currency.
🤔
Did you know?
Dollar sign is Unicode U+0024 (decimal 36) — glyph $ in the Basic Latin (ASCII) block. HTML5 names it $. You can also type $ directly in UTF-8 HTML. Related currency pages: euro, cent, pound, and yen.