URL & HTML Character Representation

I’ve had to look up the HTML codes for special characters like space many times. In fact, while writing blog entries for Thinkmiddleware.com, I’ve had to stop and look up the HTML code for less-than sign and greater-than sign one to many times. I just haven’t bothered memorizing them.

I tend to land on the same page whenever I search for these things. So, I decided it would be a good thing to capture.

For example, if a less-than sign is needed to represent XML stanzas, a “& # 60 ;” or “& l t” is needed. Likewise, if a greater-than sign is needed, a “& # 6 2 ;” or “& g t;” is needed.

HTML codes can be found here.

Details about URL encoding can be found here.