Showing a less than symbol in a Blogger post

This took me ages to sort out so here is a reminder.

If you want to post a less-than symbol in a Blogger entry (for example in some code or a math formula), you cannot use the standard HTML entity “<” as Blogger cannot cope with it for some reason.

Instead use the hexadecimal equivalent “& # 60 ;” (NB: I’ve put spaces in so that Blogger doesn’t turn it back into a symbol!). That works fine and shows the symbol (< ) as expected.


Also note that normally you can just enter a <> blocks or where there is no space after it.

Not Linux related I know 😉