HTML Entity for Left Single Quotation Mark (‘)

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

What Is the Left Single Quotation Mark Entity?

Left Single Quotation Mark (‘) is the General Punctuation character at Unicode U+2018 (LEFT SINGLE QUOTATION MARK). It is the opening (curly) single quote used in proper typography.

Remember
Character     ‘
Unicode       U+2018
Hex entity    ‘
Decimal       ‘
Named entity  ‘
CSS escape    \2018
Not the same  ' (U+0027) · ’ (’) · “ (“)

All of these produce the same glyph: ‘. Prefer ‘ when you want an explicit entity. Pair with ’ to close the quote.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity‘HTML markup (best entity default)
Hex entity‘HTML markup
Decimal entity‘HTML markup
CSS escape\2018Stylesheet content
Direct character‘UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML entity source‘
Need a numeric entity‘ or ‘
Generated text via ::before / ::aftercontent: "\2018"
Closing single quoteUse ’ (U+2019)
Opening double quoteUse “ (U+201C)

Live Preview

Left Single Quotation Mark in common typography contexts.

Label snippet ‘Hello’
Large glyph ‘
Named entity ‘ → ‘
vs ' / ’ ‘  |  '  |  ’
With entities Hex: ‘ | Decimal: ‘ | Named: ‘

Complete HTML Example

One page that shows this symbol with hex, decimal, named, and CSS. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All four ways to produce ‘ in a single document (paired with ’ in samples).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Left Single Quotation Mark (‘)</title>
  <style>
    #point::after {
      content: "\2018";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x2018;Hello&#x2019;</p>
  <p>Using HTML Code: &#8216;Hello&#8217;</p>
  <p>Using Named Entity: &lsquo;Hello&rsquo;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>&lsquo;Hello&rsquo;</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2018 → &#x2018; in HTML. The browser turns it into ‘.

2. Decimal: same code point as 8216 → &#8216;. Same result as hex.

3. Named: &lsquo; is the HTML5 name for this character. Closing quotes use &rsquo;.

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

Pitfalls & Tips

Common mistakes when working with Left Single Quotation Mark.

Look-alikes

‘ ≠ ' ≠ ’

&lsquo; opens a curly single quote. The ASCII ' is straight. &rsquo; closes the curly pair.

Pairing

Open with &lsquo;

Close with &rsquo;. Mixing left and right marks looks wrong in polished typography.

Apostrophe

Contractions use &rsquo;

Words like don&rsquo;t typically use the right single quote, not &lsquo;.

CSS vs HTML

Do not mix escapes

\2018 belongs in CSS. &lsquo; / &#x2018; / &#8216; belong in HTML.

A11y

Quotes are usually fine alone

Screen readers treat curly quotes as punctuation. Prefer real quote characters over decorative substitutes.

Semicolon

End references

Always finish with ; — write &lsquo;, not &lsquo.

Browser Support

Left Single Quotation Mark (U+2018) and its entity forms (&lsquo;, &#x2018;, &#8216;, CSS \\2018) are supported in all modern browsers. Glyph coverage depends on the font.

✓ Universal encoding

Left Single Quotation Mark (&lsquo;)

Encode with named, hex, decimal, or CSS escape — or type ‘ directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+2018 / &lsquo; Full support

Bottom line: Prefer &lsquo; for readable HTML. Use \\2018 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+2018 (decimal 8216).
  • HTML: prefer &lsquo; — or use &#x2018; / &#8216;.
  • CSS: use \2018 inside content for generated text.
  • Watch out: &lsquo; ≠ ' ≠ &rsquo;.

One line: U+2018 → &lsquo; / &#x2018; / &#8216; / CSS \2018.

Frequently Asked Questions

Use &lsquo; (named), &#x2018; (hex), &#8216; (decimal), or the CSS escape \2018 in the content property. You can also type ‘ directly in UTF-8 HTML.
U+2018 (LEFT SINGLE QUOTATION MARK). Hex 2018, decimal 8216. It belongs to General Punctuation (U+2000–U+206F).
Yes. &lsquo; is the HTML5 named entity. You can also use &#x2018; or &#8216;.
Use it as the opening curly single quote in typography, dialogue, nested quotes, and proper English punctuation. Pair it with &rsquo; for the closing mark. Prefer &lsquo; for readable HTML.
HTML entities (&lsquo;, &#8216;, or &#x2018;) go in markup. The CSS escape \2018 is used in stylesheets (usually in the content property of ::before/::after). Both render ‘.
The ASCII apostrophe ' (U+0027 / &apos;) is straight. &rsquo; (U+2019) is the right (closing) curly single quote. &lsquo; (U+2018) is the left (opening) curly single quote.

Did you know?

Left Single Quotation Mark is Unicode U+2018 (decimal 8216) — LEFT SINGLE QUOTATION MARK. HTML5 provides &lsquo;. Prefer it for readable source. Do not confuse it with the ASCII apostrophe &apos; / ' (U+0027) or the right form &rsquo; (U+2019).

Next: Left Square Bracket Quill

Learn the HTML entity for Left Square Bracket Quill — next in this sequence.

Continue 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