Special Characters


A few characters can be entered by name. This may be useful when the HTML file is to be sent over old mail systems or when your keyboard doesn't allow you to enter those characters in an easier way. For example, instead of "é," you can enter "é" (including the & and the ;). Here is a complete list:

Letter

Code

Letter

Code

Letter

Code

á

á

é

é

í

í

Á

Á

É

É

Í

Í

â

â

ê

ê

î

î

Â

Â

Ê

Ê

Î

Î

à

à

è

è

ì

ì

À

À

È

È

Ì

Ì

ä

ä

ë

ë

ï

ï

Ä

Ä

Ë

Ë

Ï

Ï

å

å

ó

ó

ú

ú

Å

Å

Ó

Ó

Ú

Ú

æ

æ

ô

ô

û

û

Æ

Æ

Ô

Ô

Û

Û

ç

ç

ò

ò

ù

ù

Ç

Ç

Ò

Ò

Ù

Ù

ð

ö

ö

ü

ü

Ð

Ö

Ö

Ü

Ü

ñ

ñ

ø

ø

ý

Ñ

Ñ

Ø

Ø

Ý

Ý

ß

ß

õ

õ

ÿ

ÿ

þ

Õ

Õ

©

©

Þ

™

®

®

&

&

<

&lt;

>

&gt;

"

&quot;

 

&shy;

 

&nbsp;

 

&thinsp;

 

&emsp;

 

&ensp;

&mdash;

&ndash;

  
 

&zwj;

 

&zwnj;

  


A non-breaking space (&nbsp;) is exactly like a normal space except that it will never be broken at the end of a line. A soft hyphen (&shy;) is an invisible mark in the text that indicates that a line may be broken at that point if needed, in which case it will expand to the appropriate type of hyphen to indicate that the word continues on the next line. A thin space (&thinsp;) is a space that is about half as wide as a normal space.

An em space (&emsp;) is a space that is as wide as the em of the current font. An en space (&ensp;) is half the width of an em space.

A zero-width non-joiner (&zwnj;) is an invisible mark between two letters to indicate that the two letters should not be combined visually. It can be used to avoid a ligature. In Western languages, it is almost never necessary. In some Oriental languages, it is more common. A zero-width joiner (&zwj;) is the opposite. It combines two letters into a ligature that would otherwise not be combined.



Cascading Style Sheets(c) Designing for the Web
Cascading Style Sheets: Designing for the Web (3rd Edition)
ISBN: 0321193121
EAN: 2147483647
Year: 2003
Pages: 215

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net