Tuesday, August 15, 2006

Movements towards web patterns

This is an interesting set of statistics collected by Google that shows the most commonly used classes in web pages.

Apart from the fact that 'footer', the most common class, and quite a few of the others should probably be ids and not classes as you're not likely to have more than one occurrence in a page, this makes me think that perhaps we're not that far away from the types of web patterns that John Allsopp is talking about (mp3).

If most pages that use classes are already unknowingly using very similar naming conventions, maybe it wouldn't be too difficult to encourage and educate developers to adhere more closely to recognised and reusable patterns in their markup.

No comments: