HTML Entity for Prescription Take (℞)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+211E

What You'll Learn

How to display the prescription symbol (℞), commonly known as Rx, in HTML using various entity methods. This character is the standard mark for medical prescriptions on pharmacy signage, drug labels, and healthcare websites.

It is part of the Letterlike Symbols Unicode block and can be rendered with a hexadecimal reference, a decimal reference, the named entity ℞, or a CSS escape in the content property. Do not confuse ℞ with typing plain Rx in text—the Unicode glyph is a single dedicated character.

⚡ Quick Reference — Prescription Take (Rx)

Unicode U+211E

Letterlike Symbols block

Hex Code ℞

Hexadecimal reference

HTML Code ℞

Decimal reference

Named Entity ℞

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+211E
Hex code       ℞
HTML code      ℞
Named entity   ℞
CSS code       \211E
Meaning        Prescription take (Rx)
Common name    Rx prescription symbol
Block          Letterlike Symbols (U+2100–U+214F)
1

Complete HTML Example

A simple example showing ℞ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\211E";
  }
 </style>
</head>
<body>
<p>Prescription (hex): &#x211E; Take as directed</p>
<p>Prescription (decimal): &#8478; Take as directed</p>
<p>Prescription (named): &rx; Take as directed</p>
<p>Prescription (CSS): <span id="point"></span> Take as directed</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The prescription take entity is universally supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See ℞ rendered live in different contexts:

Prescription label ℞ Take one tablet daily
Large glyph
Pharmacy sign ℞ Pharmacy — Open 24 hours
Not the same as Plain text “Rx” (two separate characters)
Entity refs &#x211E; &#8478; &rx; \211E

🧠 How It Works

1

Hexadecimal Code

&#x211E; uses the Unicode hexadecimal value 211E to display the prescription symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8478; uses the decimal Unicode value 8478 to display the same character.

HTML markup
3

CSS Entity

\211E is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
4

Named Entity

&rx; is the semantic named entity — the easiest to read in source HTML for the Rx prescription mark.

HTML markup
=

Same visual result

All four methods produce: . Unicode U+211E in the Letterlike Symbols block (U+2100–U+214F).

Use Cases

The prescription symbol (℞) commonly appears in:

💊 Pharmacy Websites

Online pharmacies, drugstore locators, and refill portals.

🏥 Healthcare Portals

Patient dashboards, e-prescription systems, and clinic sites.

📄 Medical Documentation

Prescription labels, dosage instructions, and pharmaceutical guides.

🎓 Health Education

Articles explaining how to read and follow prescriptions.

📋 Unicode References

Character pickers and Letterlike Symbols documentation.

💻 Medical Apps

Medication reminders, pill trackers, and telehealth interfaces.

♿ Accessibility

Pair ℞ with “prescription” or “Rx” in alt text for clarity.

💡 Best Practices

Do

  • Use &rx; for readable prescription markup
  • Prefer the Unicode glyph ℞ over plain “Rx” for authentic typography
  • Pick one style (hex / decimal / named) per project
  • Add accessible text alongside the symbol for screen readers
  • Test rendering across browsers and medical-themed fonts

Don’t

  • Assume plain “Rx” text is the same as ℞ (&rx;)
  • Use the prescription symbol for non-medical “recipe” meanings
  • Use CSS escape \211E inside HTML text nodes
  • Use HTML entities in JS (use \u211E instead)
  • Mix entity styles randomly in one file

Key Takeaways

1

Three HTML references all render ℞

&#x211E; &#8478; &rx;
2

For CSS stylesheets, use the escape in the content property

\211E
3

Unicode U+211E belongs to the Letterlike Symbols block (U+2100–U+214F)

4

Prefer &rx; for readability—standard named entity for the Rx mark

❓ Frequently Asked Questions

Use &#x211E; (hex), &#8478; (decimal), &rx; (named), or \211E in CSS content. All produce ℞.
U+211E (PRESCRIPTION TAKE). Letterlike Symbols block. Hex 211E, decimal 8478.
No. &rx; renders the dedicated Unicode glyph ℞, which is typographically distinct from plain letters R and x typed separately.
On pharmacy websites, medical portals, prescription labels, pharmaceutical documentation, and health-related educational content.
Yes. &rx;, &#8478;, and &#x211E; are equivalent in modern browsers and all render ℞.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.

All HTML Entities →

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