Really? ‘ is not valid HTML?

June 16th, 2009 by craiget

Well, I learned something today. ' is not valid in HTML. Incredibly, IE gets it right and FF/etc gets it wrong by interpreting it as an apostrophe character. I had no idea.. the simplest correct thing to do is use: ' instead.

More at: http://stackoverflow.com/questions/419718/html-apostrophe and http://fishbowl.pastiche.org/2003/07/01/the_curse_of_apos/ and http://www.alistapart.com/articles/emen.

The A List Apart article is interesting, basically saying that everybody is doing everything wrong – technically. Yet I can’t help but feel that what people actually do trumps something written in a style guide. It’s kinda like when people say you can’t end a sentence with a preposition… but you can, and people do. Is it really bad grammar when everybody does it? Or does that just mean our rules of grammar are incorrect for modern usage? Well, linguistic and philosophical excursions aside, ' is bad. Who knew?

 

Leave a Comment

Login Using:


Fatal error: Call to undefined function fbc_display_login_button() in /home/maldroid/public_html/craiget.com/wp-content/themes/ct1/comments.php on line 62