HTML Entity for Right Single Quotation Mark (’)

What You'll Learn
How to display the Right Single Quotation Mark (’) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This symbol is U+2019 (Right Single Quotation Mark) in the General Punctuation block (U+2000–U+206F)—the closing curly single quote used for proper typography in dialogue, quoted phrases, and publishing.
Render it with ’ (named), ’, ’, or CSS \2019. Do not confuse ’ with U+2018 (‘, opening single quote / ‘) or U+0027 (', straight ASCII apostrophe).
⚡ Quick Reference — Right Single Quotation Mark
U+2019General Punctuation
’Hexadecimal reference
’Decimal reference
’Most readable option
Name Value
──────────── ──────────
Unicode U+2019
Hex code ’
HTML code ’
Named entity ’
CSS code \2019
Meaning Closing single quotation mark
Related U+2018 = left single quotation mark (‘)
U+0027 = apostrophe (')Complete HTML Example
A simple example showing the Right Single Quotation Mark (’) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2019";
}
</style>
</head>
<body>
<p>Quote (hex): ‘Hello’</p>
<p>Quote (decimal): ‘Hello’</p>
<p>Quote (named): ‘Hello’</p>
<p id="point">Quote (CSS): </p>
</body>
</html>🌐 Browser Support
The Right Single Quotation Mark (’) is universally supported in all modern browsers—General Punctuation glyphs are included in virtually all system fonts:
👀 Live Preview
See the Right Single Quotation Mark (’) rendered live in different contexts:
🧠 How It Works
Hexadecimal Code
’ uses the Unicode hexadecimal value 2019 for the Right Single Quotation Mark. The x prefix indicates hexadecimal format.
Decimal HTML Code
’ uses the decimal Unicode value 8217 to display the same character.
Named Entity
’ is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.
CSS Entity
\2019 is used in CSS stylesheets in the content property of pseudo-elements like ::before or ::after.
Same visual result
All four methods produce ’. Unicode U+2019 is in the General Punctuation block. Pair with ‘ (U+2018) to open. Previous: Right Side Arc Clockwise Arrow.
Use Cases
The Right Single Quotation Mark (’) is commonly used in:
Close single-quoted dialogue or quoted phrases (e.g. ‘He said’).
Use proper curly closing single quote instead of a straight apostrophe.
Ensure correct quote rendering in articles, blogs, and CMS output.
Pair with ‘ for proper quoted text that screen readers handle well.
Typeset quotations and references with the correct closing single quote.
Support languages and styles that use single quotation marks.
💡 Best Practices
Do
- Use
’for readable source markup - Pair with
‘to open and’to close single quotations - Prefer typographic quotes over straight ASCII apostrophes in quoted text
- Keep one entity style per project for consistency
- Use proper quote pairs so assistive tech understands boundaries
Don’t
- Confuse ‘ (opening) with ’ (closing single quote)
- Use CSS
\2019inside HTML text nodes - Substitute a straight apostrophe (') for typographic closing quotes
- Mix entity styles randomly in one file
- Leave quotes unpaired in dialogue or nested quotations
Key Takeaways
Four HTML references plus CSS all render ’
’ ’ ’For CSS, use \2019 in the content property
Unicode U+2019 — Right Single Quotation Mark
Prefer ’ and pair with ‘ for opening
Previous: Right Side Arc Clockwise Arrow Next: Right Square Bracket With Quill
❓ Frequently Asked Questions
’ (hex), ’ (decimal), ’ (named), or \2019 in CSS content. All four methods render ’ correctly.U+2019 (Right Single Quotation Mark). General Punctuation block (U+2000–U+206F). Hex 2019, decimal 8217. The closing curly single quote used in typographic quotation.’, ’, or ’) go in markup. The CSS escape \2019 is used in stylesheets, typically on ::before or ::after. Both produce ’.’ is the named HTML entity for U+2019. You can also use ’ (decimal) or ’ (hex) and \2019 in CSS.Explore More HTML Entities!
Discover 1500+ HTML character references — arrows, symbols, math operators, and more.
8 people found this page helpful
