Free Web space and hosting from freehomepage.com
Search the Web


HOME
BASIC TUTORIAL
What is Html?
Sample Web Page
Basic Tags
Character Entities
Html Links
Frames
Tables
Lists
Forms
Images
Backgrounds
APPENDIX
Html Tag List

Character Entities

The < and > characters, which have a special meaning in html, cannot be used in text. To display them, you must use character entities. A character entity has three parts: an ampersand (&), an entity name or a # and entity number, and a semicolon (;).
If you wanted to display a less than sign (<) in a html document, for example, you could use
&lt or &#60.
The advantage of using the name is that it is easy to remember. The problem is that not all browsers can read the newest names, but almost all can read the numbers.
NOTE: Entities are case sensitive (&lt, not &LT). A few of the most common character entities are:
Result Description Name of Entity Number of Entity
  non-breaking space &nbsp; &#160
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
quotation mark &quot; &#34;
apostrophe   &#39;
¢ cent &cent; &#162;
£ pound &pound; &#163;
¥ yen &yen; &#165;
§ section &sect; &#167;
© copyright &copy; &#169;
® registered trademark &reg; &#174;
x multiplication &times; &#215;
÷ division &divide; &#247;

For more entities, go to www.w3school.com’s entities reference list
.
To learn how to create html links, click on “next”.

Much of what I learned to create this tutorial I found on www.w3schools.com.
Back to Top
Lewisville Middle School-2003