Mar 26, 2008

HTML Characters, Special Characters, Symbols

HTML Characters

There are some characters in HTML that must be displayed using a string of characters. The string may be a name string or numeric string as in the table below.

Character

Description

Name string

Numeric string

&

Ampersand

&

&

©

Copyright

©

¨

"

Quotation

"

"

>

Greater than

>

>

<

Less than

&;lt;

&#60;

¢

Cent

&;cent;

&#162;

£

Sterling pound

&;pound;

&#163;

°

Degree sign

&;deg;

&#176;

®

Trademark sign

&reg;

&#174;

±

Plus/minus signs

&plusmn;

&#177;

×

Multiply sign


&#215;

÷

Divide sign


&#247;

¦

Broken vertical bar

&brvbar;

&#166;

§

Section sign

&sect;

&#167;

¹

Superscript 1

&sup1;

&#185;

²

Superscript 2

&sup2;

&#178;

³

Superscript 3

&sup3;

&#179;

½

1/2 fraction

&frac12;

&#189;

¼

1/4 fraction

&frac14;

&#188;

¾

3/4 fraction

&frac34;

&#183;

Æ

Capital AE

&AElig;

&#198;

æ

Small AE

&aelig;

&#230;

É

Capital E accented

&Eacute;

&#201;

é

Small e accented

&eacute;

&#233;

Although these special characters may displayed without the semicolon at the end, it is the proper standard to use the semicolon

No comments:

Post a Comment

Popular Posts