HTML Entity for Currency Sign (¤)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+00A4

What Is Currency Sign?

Currency sign (¤) is the Unicode character at U+00A4 in the Latin-1 Supplement block. It is a generic currency placeholder — not dollar, euro, or any specific legal tender.

Remember
Character     ¤
Unicode       U+00A4
Hex entity    ¤
Decimal       ¤
Named entity  ¤
CSS escape    \A4
Not the same  $ U+0024 · € U+20AC · £ U+00A3

Prefer ¤ or a typed ¤ in hand-written HTML; use numeric forms when generating markup. Browse more symbols in HTML Currency Entities.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character¤HTML text (UTF-8)
Named entity¤HTML markup
Hex entity¤HTML markup
Decimal entity¤HTML markup
CSS escape\A4Stylesheet content

When to Use Which

SituationUse
Generic currency placeholder¤ or type ¤
US / dollar amounts$ U+0024 ($)
Euro amounts€ U+20AC (€)
Generated / numeric-only markup¤ or ¤
Generated text via ::before / ::aftercontent: "\A4"

Live Preview

Currency sign rendered in common placeholder contexts.

Inline amount ¤99.00
Large glyph ¤
Compared ¤   $   €   £
Monospace PRICE: ¤42
With entities Named: ¤ | Hex: ¤ | Decimal: ¤

Complete HTML Example

One page that shows Currency Sign with the named entity, hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to produce ¤ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Currency Sign (¤) in HTML</title>
  <style>
    #point::after {
      content: "\A4";
    }
  </style>
</head>
<body>
  <p>Currency using Named Entity: &curren;</p>
  <p>Currency using Hex Code: &#xA4;</p>
  <p>Currency using HTML Code: &#164;</p>
  <p id="point">Currency using CSS Entity: </p>
  <p>Typed directly: ¤</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &curren; is the HTML named reference for U+00A4 → ¤.

2. Hex: U+00A4 → &#xA4; in HTML. Same glyph as the named form.

3. Decimal: same code point as 164 → &#164;. Same result as hex.

4. CSS: use \A4 in content (not an HTML entity). #point::after appends that ¤ after the paragraph text.

5. Typed: in a UTF-8 page you can paste ¤ directly. All five lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with Currency Sign.

Named

Prefer &curren;

&curren; is the HTML named form for U+00A4. Do not confuse it with &dollar; or &euro;.

Generic

Not a real currency

¤ is a placeholder. For checkout and legal amounts, use the specific currency symbol or an ISO 4217 code.

$ / €

Nearby look-alikes

$ is dollar. € is euro. Pick the code point your content requires.

CSS vs HTML

Do not mix escapes

\A4 belongs in CSS. &curren; / &#xA4; / &#164; belong in HTML.

CSS tip

Short hex escapes

In CSS, \A4 is fine when followed by a non-hex character (or use \00A4). Avoid gluing hex digits to the next token.

Semicolon

End references

Always finish with ; — write &curren; and &#164;, not bare forms.

Browser Support

Currency sign (U+00A4) and its entity forms (&curren;, &#xA4;, &#164;, CSS \\A4) are supported in all mainstream browsers.

✓ Universal support

Currency Sign (&#xA4;)

Encode with named, hex, decimal, CSS escape, or type the character — same glyph everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+00A4 / entities Full support

Bottom line: Prefer &curren; or typed ¤ in HTML. Use \\A4 only inside CSS content. Do not confuse with &dollar; or &euro;.

Key Takeaways

  • Unicode: currency sign is U+00A4 (decimal 164) — glyph ¤.
  • HTML: use &curren;, &#xA4;, &#164;, or type ¤.
  • CSS: use \A4 inside content for generated text.
  • Watch out: ¤ ≠ $ ≠ € (generic ≠ dollar ≠ euro).

One line: U+00A4 → &curren; / &#164; / CSS \A4 / type ¤.

Frequently Asked Questions

Use &#xA4; (hex), &#164; (decimal), &curren; (named), or the CSS escape \A4 in content. You can also paste ¤ directly in UTF-8.
U+00A4 (hex A4, decimal 164). It belongs to the Latin-1 Supplement block and is a generic currency placeholder.
Yes. &curren; is the HTML named reference. Numeric forms &#164; and &#xA4; also work.
Use it as a generic currency placeholder in templates or samples when the specific currency is unknown. Prefer &dollar;, &euro;, &pound;, or a regional symbol when you know the tender.
HTML entities (&curren;, &#164;, or &#xA4;) go in markup. The CSS escape \A4 goes in stylesheet strings (usually content on ::before/::after).
¤ (U+00A4 / &curren;) is a generic currency mark. $ (U+0024 / &dollar;) is the dollar sign. € (U+20AC / &euro;) is the euro sign — specific currencies, not placeholders.

Did you know?

Currency sign is Unicode U+00A4 (decimal 164) — glyph ¤ in the Latin-1 Supplement block. HTML named reference is &curren;. It is a generic currency placeholder, not a specific legal tender. It is not dollar $ (U+0024 / &dollar;) and not euro € (U+20AC / &euro;).

Next: Curved Stem Paragraph Sign Ornament

Learn the HTML entity for curved stem paragraph sign ornament (U+2761).

Curved Stem Paragraph tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful