Guest Post on Writing Better HTML

Avatar of Chris Coyier
Chris Coyier on (Updated on )

I was flattered when the guys from Smashing Magazine asked me if I’d like to write an article for them. I thought I would stick to my best subject and write about CSS at first. So I started a draft about developing good CSS habits. The first section was about how CSS doesn’t live in a bubble and needs good HTML to go around it. In fact, good HTML is almost MORE important. That first section went on and on and on and eventually I decided that I was actually writing an article about developing good HTML habits instead! Here is is:

12 Principles For Keeping Your Code Clean