Posts Tagged ‘xhtml’

First step in throwing your XHTML document into Quirks Mode

Thursday, December 31st, 2009

A lot of websites pursue XHTML as their document type, which is really cool. But a lot of them end up not validating with one little mistake. Even worse, with this mistake, documents that are made to run in “standards mode” are immediately thrown into quirks mode by browsers because web developers don’t know how to do their jobs.

Read on to find out how to avoid this all-too-common mistake.

Read the rest of this entry »

XHTML 2/HTML 5 comic

Thursday, August 27th, 2009

If you haven’t seen it yet, Smashing Magazine posted a comic called Misunderstanding Markup: XHTML 2/HTML 5. I’ve been wondering what’s been going on with the standards and what it’ll ultimately mean for me. And a comic addresses my questions and laziness quite nicely. I win!

At risk of infringing copyright, I’ll rape and paste it below.

HTML Comic

Read on for the rest of the comic. This isn’t the whole thing.

Read the rest of this entry »

Using non-breaking spaces to help with branding

Monday, June 4th, 2007

You hear marketers yammer on about branding. A lot of it has validity, so you want to help out in your web marketing initiatives. So why would you want your company’s 2-word name to be split onto 2 separate lines? Let me show you why this is bad in your web marketing and how to avoid this mistake by using HTML non-breaking spaces.

Read the rest of this entry »

Everything you’d ever want to know about the alt attribute

Tuesday, May 17th, 2005

When you have a restless mind like mine, you start reading crazy things like articles about the Use of ALT texts in IMGs.* A.J. Flavell brings up some excellent points about the original intention of alt texts in img tags and how they are commonly misused. These misuses can produce some funny results and, more tragically, a horrible user experience for those who are unable to view graphics in their browsers.

Read the rest of this entry »