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)
\0027JavaScript Unicode (\uXXXX)
\u0027URL Percent Encoded
%27Real-World Implementation Snippets
HTML5 Document
<p>Example: '</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 "'". If using numeric codes, you can use the decimal code "'" or hex code "'".