HTML Entities : Java Glossary
home H words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish 2008-03-30 by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
Entities in HTML
codes use in HTML to get fancy characters e.g.
Common Sample Entities
How The Entity is Rendered How To Code the Enitity
& &
< &lt;
> &gt;
&trade;
é &eacute;
&lsquo;
&rsquo;
&ldquo;
&rdquo;

Possible Special Characters

You will learn to create all the special characters like these using named entities:
' ¢ ¤ ÷ ƒ > · ¬ ª ϖ " ϒ
` ˆ º ± "
~ ½ ¿ £ § ¹ × ¥
´ ¦ ¼ <   ñ ® ­(-) ²
© ¾ ¯ » ³
& ° ¡ «  
¸ µ ß ¨  
Depending on your browser and your installed fonts, some of those characters above will not display properly. I have discovered that Opera, Firefox, Mozilla and Netscape all handle fonts with missing characters properly. If a font is missing a character, they borrow it from a font that has it rather than leaving it blank or drawing an empty box. IE is not clever enough to do this.

I have the following fonts work best for rendering the more exotic characters: Lucida Unicode, Lucida Sans, Serif, SansSerif, MS PGothic, MSUIgothic and Monospaced.

I also discovered many fonts from the pre-Unicode era do not work well. Ideally you want all your fonts designed for Unicode. If you have fonts in Opentype, PostScript Type 1 and TrueType form, you can experiment to see which works best, testing them as appropriate in your word processor, Java and browser.

Possible Accented Characters

You will learn to generate all the accented characters like:

À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Œ Ò Ó Ô Õ Ö Ø Š Ù Ú Û Ü Ý Þ Ÿ
à á â ã ä å æ ç è é ê ë ì í î ï ð ñ œ ò ó ô õ ö ø š ù ú û ü ý þ ÿ
Depending on your browser and your installed fonts, some of those characters above will not display properly.

Possible Greek Characters

You will learn to create all the Greek characters like:
Α Β Γ Δ Ε Ζ Η Θ   Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ   Τ Υ Φ Χ Ψ Ω
α β γ δ ε ζ η θ ϑ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω

Special Character Entity Codes

Entity Codes for Special Characters in HTML
Char Code Description
' ' apostrophe, single quote, use &grave; and acute for left/right, or the new &lsquo; and &rsquo;. &apos; is not officially recognised. It is not needed.
@ @ at sign. &at; is not officially recognised. It is not needed.
` ` grave
~ ~ tilde
´ &acute; acute accent, spacing acute
&alefsym; alef symbol, first transfinite cardinal
& &amp; ampersand
&and; logical and, wedge
&ang; angle
&asymp; almost equal to, asymptotic to
&bdquo; double low-9 quotation mark
¦ &brvbar; broken bar
&bull; bullet, black small circle
&cap; intersection
¸ &cedil; cedilla, spacing cedilla
¢ &cent; cent sign
ˆ &circ; modifier letter circumflex accent
&clubs; black club suit, shamrock
&cong; approximately equal to
© &copy; copyright sign
&crarr; downwards arrow with corner leftwards
&cup; union, cup
¤ &curren; currency sign
&dagger; &#134; dagger. Not widely supported. &#134; only works in Latin-1
&Dagger; double dagger
&darr; downwards arrow
&dArr; downwards double arrow
° &deg; degree sign
Δ &Delta; Greek upper case delta. Note the upper case D, not δ &delta;
&diams; black diamond suit
÷ &divide; division sign
&empty; empty set, null set, diameter
&emsp; em space
&ensp; en space
&equiv; identical to
&euro; &#128; Euro. &#128; only works in Latin-1.
&exist; there exists
ƒ &fnof; latin small f with hook, function
&forall; for all
½ &frac12; vulgar fraction 1/2 one half
¼ &frac14; vulgar fraction 1/4 one quarter
¾ &frac34; vulgar fraction 3/4 three quarters
&frasl; fraction slash
&ge; greater or equal
> &gt; greater than
&harr; left right arrow
&hArr; left right double arrow
&hearts; black heart suit, valentine
&hellip; … horizontal ellipsis, three dot leader
¡ &iexcl; inverted exclamation mark
&image; blackletter capital I, imaginary part
&infin; infinity
&int; integral
¿ &iquest; inverted question mark
&isin; element of
&lang; left-pointing angle bracket
« &laquo; left guillemot, left angled quote, left-pointing double angle quotation mark.
&larr; leftwards arrow
&lArr; leftwards double arrow
&lceil; left ceiling, apl upstile
&ldquo; left double quote.
&le; less or equal
&lfloor; left floor, apl downstile
&lowast; asterisk operator
&loz; lozenge
&lrm; left-to-right mark
&lsaquo; single left-pointing angle quotation mark
&lsquo; left single quote.
< &lt; less than
¯ &macr; macron, spacing macron, overline
&mdash; m-dash, compare — &mdash;, − &minus; – &ndash; - ordinary dash
µ &micro; micro sign
· &middot; middle dot
&minus; minus sign, compare — &mdash; − &minus; – &ndash; - ordinary dash
&nabla; nabla, backward difference. See Δ &Delta;
    non breaking space
&ndash; n-dash, compare — &mdash; − &minus; – &ndash; - ordinary dash
&ne; not equal to
&ni; contains as member
¬ &not; not sign
&notin; not an element of
&nsub; not a subset of
ñ &ntilde; latin small letter n with tilde
&oline; overline, spacing overscore
&oplus; circled plus, direct sum
&or; logical or, vee
ª &ordf; feminine ordinal indicator
º &ordm; masculine ordinal indicator
&otimes; circled times, vector product
&para; paragraph sign, pilcrow sign
&part; partial differential
&permil; per mille sign
&perp; up tack, orthogonal to, perpendicular
ϖ &piv; Greek pi symbol, see also π &pi; and Π &Pi;
± &plusmn; plus-minus sign, plus-or-minus sign
£ &pound; pound sign
&Prime; double prime, seconds, inches
&prime; prime, minutes, feet
&prod; n-ary product, product sign
&prop; proportional to
" &quot; double quote. Usually use the &ldquo; and &rdquo;.
" &quot; quotation mark, APL quote
&radic; square root, radical sign
&rang; right-pointing angle bracket, ket
» &raquo; right guillemot, right angled quote. right-pointing double angle quotation mark
&rArr; rightwards
&rarr; rightwards arrow
&rceil; right ceiling
&rdquo; right double quote.
&rsaquo; right angle quote.
&real; blackletter capital R, real part symbol
® &reg; registered trade mark sign. Illegal for a vendor to use without legal registration. See also ™ &trade;
&rfloor; right floor
&rlm; right-to-left mark
&rsquo; right single quote.
&sbquo; single low-9 quotation mark
&sdot; dot operator
§ &sect; section sign, like two Ss joins forming a circle in the middle
­(-) &shy; soft hyphen -. The soft hyphen is always visible, and may look slightly different from a normal hyphen. It is intended for use at ends of line to indicate a word break. There is no such thing as a non-breaking hyphen, that forces text on both sides to stay on the same line. Further there is no such thing as a discretionary hyphen that marks a good place to split a word over two lines if necessary, invisible unless the word breaks over two lines.
&sim; tilde operator, varies with, similar to
&spades; black spade suit
&sub; subset of
&sube; subset of or equal to
&supe; superset of or equal to
&sum; n-ary summation
¹ &sup1; superscript 1 one
² &sup2; superscript 2 two. You can also use 2 <sup>2</sup>
³ &sup3; superscript 3 three
&sup; superset of. It does not mean superscript.
ß &szlig; German double s, Beta.
&there4; therefore
&thinsp; thin space
× &times; multiplication sign
&trade unregistered Trademark. &trade; only recently supported. Use <sup>TM</sup> for safety. &#153; only works in Latin-1. See this full discussion of the problems. See ® &reg;
&uarr; upwards arrow
&uArr; upwards double arrow
¨ &uml; diaeresis, spacing diaeresis
ϒ &upsih; Greek upsilon with hook symbol, see also υ &upsilon; and Υ &Upsilon;.
&weierp; script capital P, power set, Wierstrasse
¥ &yen; yen sign
&zwj; zero width joiner
&zwnj; zero width non-joiner
Depending on your browser and your installed fonts, some of those characters above will not display properly.

Arrows

Ways of Making Arrows
Appearance HTML tags
   
< >
   
  &and;  
&lt; &mdash; &gt;
  &or;  
   
   
  &uarr;  
&larr; &harr; &rarr;
  &darr;  
   
   
  &uArr;  
&lArr; &hArr; &rArr;
  &dArr;  

Accented Letter Entities

Accented Letter Entities
Char Code  
Upper
Case
Lower
Case
Upper
Case
Lower
Case
Description
À à &Agrave; &agrave; a grave
Á á &Aacute; &aacute; a acute
 â &Acirc; &acirc; a circumflex
à ã &Atilde; &atilde; a tilde
Ä ä &Auml; &auml; a umlaut
Å å &Aring; &aring; a ring
Æ æ &AElig; &aelig; ae ligature
Ç ç &Ccedil; &ccedil; c cedilla
È è &Egrave; &egrave; e grave
É é &Eacute; &eacute; e acute
Ê ê &Ecirc; &ecirc; e circumflex
Ë ë &Euml; &euml; e umlaut
Ì ì &Igrave; &igrave; i grave
Í í &Iacute; &iacute; i acute
Î î &Icirc; &icirc; i circumflex
Ï ï &Iuml; &iuml; i umlaut
Ð ð &ETH; &eth; Icelandic eth
Ñ ñ &Ntilde; &ntilde; n tilde
Œ œ &OElig; &oelig; oe ligature grave
Ò ò &Ograve; &ograve; o grave
Ó ó &Oacute; &oacute; o acute
Ô ô &Ocirc; &ocirc; o circumflex
Õ õ &Otilde; &otilde; o tilde
Ö ö &Ouml; &ouml; o umlaut
Ø ø &Oslash; &oslash; o slash
Š š &Scaron; &scaron; s caron slash
Ù ù &Ugrave; &ugrave; u grave
Ú ú &Uacute; &uacute; uacute
Û û &Ucirc; &ucirc; u circumflex
Ü ü &Uuml; &uuml; u umlaut
Ý ý &Yacute; &yacute; y acute
Þ þ &THORN; &thorn; Icelandic thorn
Ÿ ÿ &Yuml; &yuml; y umlaut
Depending on your browser and your installed fonts, some of those characters above will not display properly.

Greek Letter Entities

Greek Letter Entities
Char Code  
Upper
Case
Lower
Case
Upper
Case
Lower
Case
Description
Α α &Alpha; &alpha; alpha
Β β &Beta; &beta; beta
Γ γ &Gamma; &gamma; gamma
Δ δ &Delta; &delta; delta
Ε ε &Epsilon; &epsilon; epsilon
Ζ ζ &Zeta; &zeta; zeta
Η η &Eta; &eta; eta
Θ θ &Theta; &theta; theta
  ϑ   &thetasym; theta symbol
Ι ι &Iota; &iota; iota
Κ κ &Kappa; &kappa; kappa
Λ λ &Lambda; &lambda; lambda
Μ μ &Mu; &mu; mu
Ν ν &Nu; &nu; nu
Ξ ξ &Xi; &xi; xi
Ο ο &Omicron; &omicron; omicron
Π π &Pi; &pi; pi
  ϖ   &piv; pi symbol
Ρ ρ &Rho; &rho; rho
Σ σ &Sigma; &sigma; sigma
  ς   &sigmaf; final sigma
Τ τ &Tau; &tau; tau
Υ υ &Upsilon; &upsilon; upsilon
Φ φ &Phi; &phi; phi
Χ χ &Chi; &chi; chi
Ψ ψ &Psi; &psi; psi
Ω ω &Omega; &omega; omega
Depending on your browser and your installed fonts, some of those characters above will not display properly.

Cyrillic Letter Entities

Cyrillic Letter Entities
Char Code  
Upper
Case
Lower
Case
Upper
Case
Lower
Case
Description
А а &#x0410; &#x0430; A
Б б &#x0411; &#x0431; BE
В в &#x0412; &#x0432; VE
Г г &#x0413; &#x0433; GHE
Д д &#x0414; &#x0434; DE
Е е &#x0415; &#x0435; IE
Ж ж &#x0416; &#x0436; ZHE
З з &#x0417; &#x0437; ZE
И и &#x0418; &#x0438; I
Й й &#x0419; &#x0439; SHORT I
К к &#x041A; &#x043A; KA
Л л &#x041B; &#x043B; EL
М м &#x041C; &#x043C; EM
Н н &#x041D; &#x043D; EN
О о &#x041E; &#x043E; O
П п &#x041F; &#x043F; PE
Р р &#x0420; &#x0440; ER
С с &#x0421; &#x0441; ES
Т т &#x0422; &#x0442; TE
У у &#x0423; &#x0443; U
Ф ф &#x0424; &#x0444; EF
Х х &#x0425; &#x0445; HA
Ц ц &#x0426; &#x0446; TSE
Ч ч &#x0427; &#x0447; CHE
Ш ш &#x0428; &#x0448; SHA
Щ щ &#x0429; &#x0449; SHCHA
Ъ ъ &#x042A; &#x044A; HARD SIGN
Ы ы &#x042B; &#x044B; YERU
Ь ь &#x042C; &#x044C; SOFT SIGN
Э э &#x042D; &#x044D; E
Ю ю &#x042E; &#x044E; YU
Я я &#x042F; &#x044F; YA

Polish Accented Letters

Polish Accented Letters
Char Code  
Upper
Case
Lower
Case
Upper
Case
Lower
Case
Description
Ą ą &#x0104; &#x0105; A ogonek
Ę ę &#x0118; &#x0119; E ogonek
Ó ó &#x00D3; &#x00F3; O acute
Ć ć &#x0106; &#x0107; C acute
Ł ł &#x0141; &#x0142; L stroke
Ń ń &#x0143; &#x0144; N acute
Ś ś &#x015a; &#x015b; S acute
Ź ź &#x0179; &#x017a; Z acute
Ż ż &#x017b; &#x017c; Z dot above

Numeric Hex Entity Codes

In HTML, you code special character with entities such as &quot;. Not all entities have alphabetic names. For those you must code them as hex entity codes. Read up on Unicode to find out what these characters are for. View a table of hex entity codes
Amper Utility: to convert & to &amp; intelligently
ASCII code table
CSS
Entities classes: to insert and strip entities from HTML
Entities: a program to convert text to entity form and back
Esperanto Accented Letters
Fonts
FontShower: fonts available in Java
FORMS
FORMS: specification
hex entities
HTML 4.01 Specifications: current HTML Standard
HTML Cheat Sheet
Reuters Unicode Displayer
Unicode
W3C definitive list of entities
WikiPedia entity list

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.16] The information on this page is for non-military use only.
You are visitor number 11. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/htmlentities.html J:\mindprod\jgloss\htmlentities.html