mainlogo
Systematic
Marketing

There are certain things that I always have to look up when creating HTML / javascript , no matter how many times I use them I never remember. So this is my cheat sheet which you may also find useful. Also I’ll always know where to look – so it’s as much for me as you. I usually use the entity numbers as I’m never convinced all browsers support the entity names.

Javascript / CSS

. for classes

# for ids

Currencies

£    £ or £

€    € or €

¥    ¥ or ¥

Copyright Symbols

©   © or ©

®   ® or ®

™   ™ or ™

Maths

°     ° or °

±    ± or ±

×    × or ×

÷    ÷ or ÷

≤    ≤ or ≤

≥    ≥ or ≥

¹    ¹ or ¹

²    ² or ²

³    ³ or ³

Others

…    … or @hellip;

And some I don’t usually forget

<    &lt; or &#60;

>    &gt; or &#62;

&    &amp; or &#38;

non breaking space    &nbsp; or &#160;