How to create the apostrophe symbol in HTML
An entity name, entity number, or hexadecimal can be used to add special characters/symbols to an HTML webpage. One such symbol is the apostrophe.
There are three methods for adding an apostrophe in HTML:
The apostrophe symbol
| Method | Apostrophe symbol |
|---|---|
| entity number | ' |
| entity name | ' |
| hexadecimal reference | ' |
Code
Free Resources
Copyright ©2025 Educative, Inc. All rights reserved