HTML Entity for Left Single Quotation Mark (‘)

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

What You'll Learn

How to display the Left Single Quotation Mark (‘) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This symbol is U+2018 (LEFT SINGLE QUOTATION MARK) in the General Punctuation block (U+2000–U+206F)—the opening curly single quote used for proper typography in dialogue, quoted phrases, and publishing.

Render it with ‘ (named), ‘, ‘, or CSS \2018. Do not confuse ‘ with U+2019 (’, closing single quote / ’) or U+0027 (', straight ASCII apostrophe).

⚡ Quick Reference — Left Single Quotation Mark

Unicode U+2018

General Punctuation

Hex Code ‘

Hexadecimal reference

HTML Code ‘

Decimal reference

Named Entity ‘

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2018
Hex code       ‘
HTML code      ‘
Named entity   ‘
CSS code       \2018
Meaning        Opening single quotation mark
Related        U+2019 = right single quotation mark (’)
               U+0027 = apostrophe (')
1

Complete HTML Example

A simple example showing the Left Single Quotation Mark (‘) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2018";
  }
 </style>
</head>
<body>
<p>Quote (hex): &#x2018;Hello&#x2019;</p>
<p>Quote (decimal): &#8216;Hello&#8217;</p>
<p>Quote (named): &lsquo;Hello&rsquo;</p>
<p id="point">Quote (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Left Single Quotation Mark (‘) is universally supported in all modern browsers—General Punctuation glyphs are included in virtually all system fonts:

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

👀 Live Preview

See the Left Single Quotation Mark (‘) rendered live in different contexts:

Inline dialogue She said, ‘Hello there!’
Large glyph
Nested quotes “He replied, ‘Yes.’”
Quote pair &lsquo; text &rsquo;
Quote comparison ‘ ’ '
Numeric refs &lsquo; &#x2018; &#8216; \2018

🧠 How It Works

1

Hexadecimal Code

&#x2018; uses the Unicode hexadecimal value 2018 for the left single quotation mark. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&lsquo; is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.

HTML markup
4

CSS Entity

\2018 is used in CSS stylesheets in the content property of pseudo-elements like ::before or ::after.

CSS stylesheet
=

Same visual result

All four methods produce . Unicode U+2018 is in the General Punctuation block. Pair with &rsquo; (U+2019) to close. Previous: Left Side Arc Anticlockwise Arrow.

Use Cases

The Left Single Quotation Mark (‘) is commonly used in:

💬 Dialogue & Quotes

Open single-quoted dialogue or quoted phrases (e.g. ‘He said’).

📜 Typography

Use proper curly opening single quote instead of a straight apostrophe.

📄 Content & CMS

Ensure correct quote rendering in articles, blogs, and CMS output.

♿ Accessibility

Pair with &rsquo; for proper quoted text that screen readers handle well.

📚 Academic & Legal

Typeset quotations and references with the correct opening single quote.

🌐 Internationalization

Support languages and styles that use single quotation marks.

💡 Best Practices

Do

  • Use &lsquo; for readable source markup
  • Pair with &rsquo; to open and 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 \2018 inside HTML text nodes
  • Substitute a straight apostrophe (') for typographic opening quotes
  • Mix entity styles randomly in one file
  • Leave quotes unpaired in dialogue or nested quotations

Key Takeaways

1

Three HTML references plus CSS all render ‘

&#x2018; &#8216; &lsquo;
2

For CSS, use \2018 in the content property

3

Unicode U+2018 — LEFT SINGLE QUOTATION MARK

4

Prefer &lsquo; and pair with &rsquo; for closing

❓ Frequently Asked Questions

Use &#x2018; (hex), &#8216; (decimal), &lsquo; (named), or \2018 in CSS content. All four methods render ‘ correctly.
U+2018 (LEFT SINGLE QUOTATION MARK). General Punctuation block (U+2000–U+206F). Hex 2018, decimal 8216. The opening curly single quote used in typographic quotation.
For opening single quotations, dialogue, and any text requiring a proper curly single quote at the start of a quoted phrase.
HTML references (&#8216;, &#x2018;, or &lsquo;) go in markup. The CSS escape \2018 is used in stylesheets, typically on ::before or ::after. Both produce ‘.
Yes. &lsquo; is the named HTML entity for U+2018. You can also use &#8216; (decimal) or &#x2018; (hex) and \2018 in CSS.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, math operators, 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