HTML entity codes

The following table contains a list of useful HTML entity codes.

Character Description Entity Name Entity Number (dec) Entity Number (hex)
non-breaking space     not sure
< less than &lt; &#60; &#x3C;
> greater than &gt; &#62; &#x3E;
& ampersand &amp; &#38; &#x26;
[ left square bracket &#91; &#x5B;
] right square bracket &#93; &#x5D;

The web site w3schools.com contains a handy scratchpad to test and try out HTML code. Just past HTML code in the left hand window, click on Edit and Click Me and the result will be shown in the right hand window.

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

Leave a Reply

Fill in your details below or click an icon to log in:

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