HTML Code for Common Symbols

A Cheat Sheet of HTML Symbol Codes

Getty

We use all sorts of symbols in everyday life. Sometimes it's hard to get those symbols on your web pages. If you want to use a symbol that is not on your keyboard, you may not know any way to enter it onto your pages. With these HTML codes for symbols and signs, you can do all this and more.

Common HTML Symbol Codes

  • Ampersand
    • &
    • & or &
  • Exclamation mark
    • !
    • !
  • Quote
    • "
    • " or "
  • Hashtag/Number sign
    • #
    • #
  • Dollar sign
    • $
    • $
  • Percent sign
    • %
    • %
  • Apostrophe
    • '
    • '
  • Left parenthesis
    • (
    • (
  • Right parenthesis
    • )
    • )
  • Asterisk
    • *
    • *
  • Plus sign
    • +
    • +
  • Comma
    • ,
    • ,
  • Hyphen
    • -
    • -
  • Period
    • .
    • .
  • Slash
    • /
    • /
  • Backslash
    • \
    • \
  • Colon
    • :
    • :
  • Semicolon
    • ;
    • &#59;
  • Less than
    • <
    • &lt; or &#60;
  • Greater than
    • >
    • &gt; or &#62;
  • Equal sign
    • =
    • &#61;
  • Question mark
    • ?
    • &#63;
  • At sign
    • @
    • &#64; or &#
  • Left square bracket
    • [
    • &#91;
  • Right square bracket
    • ]
    • &#93;
  • Caret
    • ^
    • &#94;
  • Underscore
    • _
    • &#95;
  • Accent
    • `
    • &#96;
  • Vertical bar or Pipe
    • |
    • &#124;
  • Left curly brace
    • {
    • &#123;
  • Right curly brace
    • }
    • &#125;
  • Tilde
    • ~
    • &#126;
  • Multiplication sign
    • ×
    • &#215;
  • Division sign
    • ÷
    • &#247;

Codes for Less Frequently Seen Symbols

These symbols may come in handy to know someday. Included are several currency signs, copyright and registered trademark signs, female and male symbols, hyphens, accents, and others. 

  • Inverted exclamation
    • ¡
    • &#161;
  • Cent sign
    • ¢
    • &#162;
  • Pound sterling
    • £
    • &#163;
  • General currency sign
    • ¤
    • &#164;
  • Yen sign
    • ¥
    • &#165;
  • Broken vertical bar
    • ¦
    • &#166;
  • Section sign
    • §
    • &#167;
  • Umlaut
    • ¨
    • &#168;
  • Copyright
    • ©
    • &#169;
  • Feminine ordinal
    • ª
    • &#170;
  • Masculine ordinal
    • º
    • &#186;
  • Right angle quote
    • »
    • &#187;
  • Left angle quote
    • «
    • &#171;
  • Not sign
    • ¬
    • &#172;
  • Soft hyphen
    • &#173;
  • Registered trademark
    • ®
    • &#174;
  • Macron accent
    • ¯
    • &#175;
  • Degree sign
    • °
    • &#176;
  • Plus or minus sign
    • ±
    • &#177;
  • Superscript two
    • ²
    • &#178;
  • Superscript three
    • ³
    • &#179;
  • Acute accent
    • ´
    • &#180;
  • Micro sign
    • µ
    • &#181;
  • Paragraph sign
    • &#182;
  • Middle dot
    • ·
    • &#183;
  • Cedilla
    • ¸
    • &#184;
  • Superscript one
    • ¹
    • &#185;
  • Inverted question mark
    • ¿
    • &#191;

HTML Codes for Spaces, Blank Lines, Fractions

Spaces, blank lines, and fractions are not easy to place on web pages, but you can add them using these codes. There are also codes here for numerals 0 through 9. 

Using code for letters and numbers may come in handy if you want to create an HTML document that is coded and send it to your friends to upload on their computer to read.

  • Blank space
    • &nbsp;
  • Em and En spaces
    • &emsp; and &ensp;
  • Blank line
    • <br>
  • One-fourth
    • ¼
    • &#188;
  • One-half
    • ½
    • &#189;
  • Three-fourths
    • ¾
    • &#190;
  • Digit 0
    • 0
    • &#48
  • Digit 1
    • 1
    • &#49
  • Digit 2
    • 2
    • &#50
  • Digit 3
    • 3
    • &#51
  • Digit 4
    • 4
    • &#52
  • Digit 5
    • 5
    • &#53
  • Digit 6
    • 6
    • &#54
  • Digit 7
    • 7
    • &#55
  • Digit 8
    • 8
    • &#56
  • Digit 9
    • 9
    • &#57