Special Characters in HTML – Tutorial
Special Characters in HTML: Overview
There are times when it becomes necessary to display symbols or special characters in HTML that are not available on a standard keyboard, such as ©. You may also need to display special characters in HTML that have a special meaning in HTML (<,>,&, etc). To accomplish this, HTML uses the Special Character Entity tag.
To add special characters in HTML, type an ampersand (&), followed by the pound sign (#), followed by the number of the code, and ended with a semicolon (;). For example, the © (copyright) symbol can be displayed by using ©. There are literally hundreds of special character entities currently available. A few of the more common tags are listed in the table below.
|Plus or minus sign||±||±|
|Quotation Mark (left)||“||“|
|Quotation Mark (right)||”||”|
Special Characters in HTML- Tutorial: A picture of an HTML5 document that shows how to code special characters in HTML.
Special Characters in HTML: Instructions
- To add special characters in HTML, type an ampersand followed by a pound sign (&#) at the place within your HTML document where you want to add a special character
- Type the number of the proper code for the character to add.
- Type a semicolon (;) to finish.
Special Characters in HTML: Video Lesson
The following video lesson, titled “Special Characters,” shows you how to add special characters in HTML. This video lesson about special characters in HTML is from our complete Introductory HTML5 and CSS3 course, titled “Mastering HTML5 and CSS3 Made Easy v.1.0.”