Character Entity References

Contents

The Most Popular Character Entities
Character Entity References Defined in HTML 4.0

The Most Popular Character Entities next page
Character Entities References are the way you put special letters, numbers and symbols on the web page. A character entity reference consists of an ampersand (&), followed by a pound sign (#), the number of the character entity, and finishing with a semi-colon (;). Alternately, for some characters you can put ampersand, the name of the character (but no # sign), followed by a semi-colon.

For example, you could put a copyright symbol on the page like this:

this code produces this
©
©

The copyright symbol is named "copy", so you could also add the character like this:

this code produces this
©
©

The names of character entities are not as well supported by the browsers as the numbers, so it's best to use the numbers. Use the references on the next two pages to find the symbols you need.

Common Mistakes When Using Character Entities





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.