HTML Special Chars
'

Single Quotation Mark / Apostrophe (')

Apostrophe or single quote character. In XML and modern HTML5, ' is the standard named entity.

One-Click Copyable Code Formats

HTML Named Entity
'
HTML Decimal Code
'
HTML Hex Code
'
CSS content (\XXXX)
\0027
JavaScript Unicode (\uXXXX)
\u0027
URL Percent Encoded
%27

Real-World Implementation Snippets

HTML5 Document
<p>Example: &apos;</p>
CSS ::before / ::after
.badge::before { content: '\0027 '; }
React JSX / TypeScript
<span>{"\u0027"}</span>
Frequently Asked Questions

Single Quotation Mark / Apostrophe (') HTML Entity FAQ

Common questions regarding HTML escape codes, CSS pseudo-elements, and browser character encoding.

The standard HTML named entity is "&apos;". If using numeric codes, you can use the decimal code "&#39;" or hex code "&#x27;".