HTML Entity Crimes

markup-htmlI’m often Googling for HTML character entities that I use often — but not to remember their entity.

What’s an entity?

Here’s the formal definition, snagged from Google:
A character entity reference is an SGML construct that references a character of the document character set.The names of the entities are taken from the appendices of SGML (defined in [ISO8879]). symbols, mathematical symbols, and Greek letters. These characters may be represented by glyphs in the Adobe font “Symbol”.

The web has become a lot more forgiving (and character sets have changed), but in the past, I remember having to make sure character entities were used for every reference to an ampersand or em dashes.

Regardless, I’ve seen the article below come up more than once when I’m searching for a specific character entity. Thought it was past due to link to it.

Source: Line25 – 10 HTML Entity Crimes You Really Shouldn’t Commit

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.