Trusted answers to developer questions

How to create the apostrophe symbol in HTML

Get the Learn to Code Starter Pack

Break into tech with the logic & computer science skills you’d learn in a bootcamp or university — at a fraction of the cost. Educative's hand-on curriculum is perfect for new learners hoping to launch a career.

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
The apostrophe symbol
Method Apostrophe symbol
entity number '
entity name '
hexadecimal reference '

Code

RELATED TAGS

html
apostrophe
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?