HTML Java

HTML Symbols


HTML Symbols

  • There are various characters which have some specific meaning.
  • We usually term them as symbols such as greater than, equal to, etc.
  • There are many symbols we use but those are not availabe on your keyboard.
  • To write those symbols, we use entity name.
  • If entity name does not exists, we can use entity number, decimal or hexadecimal reference.

Example

<html>
<body>
   <p>This will display as &trade;.</p>
   <p>This will display as &#8482;.</p>
   <p>This will display as &#x2122;.</p>
</body>
</html>
Try it »


Some Statistics Symbols

Character Entity Number Entity Hex Entity Character Description
μ &mu; &‌#956; &‌#x3BC; LOWER CASE MU (Mean)
σ &sigma; &‌#963; &‌#x3C3; LOWER CASE SIGMA (Standard Deviation)
χ &chi; &‌#967; &‌#x3C7; LOWER CASE CHI
&sum; &‌#8721; &‌#x2211; CAPITAL SIGMA N-ARY SUMMATION
&prod; &‌#8719; &‌#x220F; CAPITAL PI N-ARY PRODUCT


Some Logic and Set Theory Symbols

Character Entity Number Entity Hex Entity Character Description
&forall; &‌#8704; &‌#x2200; FOR ALL (Upside-down A)
&‌#8705; &‌#x2201; COMPLEMENT (Thin C)
&exist; &‌#8707; &‌#x2203; THERE EXISTS (Backwards E)
&‌#8708; &‌#x2204; THERE DOES NOT EXIST (Backwards E with slash)
&empty; &‌#8709; &‌#x2205; EMPTY SET (O slash)
¬ &not; &‌#172; &‌#xAC; NOT SYMBOL (Corner)
˜ &tilde; TILDE (Alternate Not Symbol)
&and; &‌#8743; &‌#x2227; &‌#8743;
&or; &‌#8744; &‌#x2228; LOGICAL OR (V Symbol)
&‌#8891; &‌#x22BB; XOR
&‌#8892; &‌#x22BC; NAND
&‌#8893; &‌#x22BD; NOR
&cap; &‌#8745; &‌#x2229; INTERSECTION (Cap or Upside Down U)
&cup; &‌#8746; &‌#x222A; UNION (Cup or U Symbol)
&isin; &‌#8712; &‌#x2208; ELEMENT OF
&notin; &‌#8713; &‌#x2209; NOT AN ELEMENT OF
&‌#8714; &‌#x220A; SMALL ELEMENT OF
&ni; &‌#8715; &‌#x220B; CONTAINS AS MEMBER
&‌#8716; &‌#x220C; DOES NOT CONTAIN AS MEMBER
&‌#8717; &‌#x220D; SMALL CONTAINS AS MEMBER
&‌#8726; &‌#x2216; SET MINUS


Some Angle/Line Symbols

Character Number Entity Hex Entity Character Description
&‌#8735; &‌#x221F; RIGHT ANGLE
&‌#8736; &‌#x2220; ANGLE Entity Code = &ang;
&‌#8737; &‌#x2221; MEASURED ANGLE
&‌#8738; &‌#x2222; SPHERICAL ANGLE
&‌#8739; &‌#x2223; DIVIDES
&‌#8740; &‌#x2224; DOES NOT DIVIDE
&‌#8741; &‌#x2225; PARALLEL TO
&‌#8742; &‌#x2226; NOT PARALLEL TO
&‌#8894; &‌#x22BE; RIGHT ANGLE WITH ARC
&‌#8895; &‌#x22BF; RIGHT TRIANGLE
&‌#8869; &‌#x22A5; UP TACK (Perpendicular) Entity Code = &perp;