Useful character codes for HTML

A useful list of HTML character codes that I use reasonably frequently, including some I can never quite remember!

‘&’     = &              (or &)
‘#’     = #
‘  ‘    = &#nbsp;&#nbsp;
‘-’     = -
‘<‘     = &#060;              (or &lt;)
‘>’     = &#062;              (or &gt;)
‘"’     = &#034;              (or &quot;)
‘'’     = &#039;
‘/’     = &#047;
‘]’     = &#093;
‘[’     = &#091;
‘.’     = &#046;
‘...’   = &#046;&#046;&#046;
‘:’     = &#058;
 
‘\’     = &#092;
‘|’     = &#124;
‘±’     = &#177;              (or &plusmn;)
‘µ’     = &#181;              (or &micro;)
‘¡’     = &#161;              (or &iexcl;)
‘¿’     = &#191;              (or &iquest;)
‘«’     = &#171;              (or &laquo;)
‘»’     = &#187;              (or &raquo;)
 
‘©’     = &#169;              (or &copy;)
‘®’     = &#174;              (or &reg;)
‘£’     = &#163;              (or &pound;)
‘€’     = &#8364;             (or &euro;)
‘…’     = &#8230;             (or &hellip;)

Advertisements
This entry was posted in Programming and tagged . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s