特殊記号の表示
There are many different characters that you may wish to use on your webpage that do not appear on a standard keyboard. For example, you may wish to use a trademark symbol, or a copyright symbol in your page content. There are many, many different special characters available to display using a special type of ‘character reference’.
Special Characters are typically referred to using a name code, or a number code (also called a character entity or a numeric entity respectively) and there are three parts to both. Some characters may only have a numeric reference and not a character or name reference.
First a name code, or a number code begins with an ‘&’.
Secondly, the name or number that refers to the character.
Finally, a semicolon to denote the end of the character reference.
Here are some examples of a few different special characters:
Name Code Number Code Glyph Description
Name | Code | Glyph | Description |
™ | ™ | ™ | Trademark |
© | © | © | Copyright |
« | « | « | Left Angle Quote |
→ | → | → | Rightward Arrow |
♥ | ♥ | ♥ | Black Heart Suit |
¢ | ¢ | ¢ | Cent Sign |
Don't forget that as time goes on, new entities are added and some of these
may not be understood by all browsers.
→Special Characters Reference Sheet