Nov 13th, 2008
12 Principles For Keeping Your Code Clean
Beautiful HTML is the foundation of a beautiful website. When I teach people about CSS, I always begin by telling them that good CSS can only exist with equally good HTML markup. A house is only as strong as its foundation, right? The advantages of clean, semantic HTML are many, yet so many websites suffer from poorly written markup.
Most of the tips in here are definitely true, tabbing and doctype and semantics but others are not set in stone, for example sometimes javascript can be listed outside of the head section, and non external css can be okay at times. Moreover, I use php to write fresh js and inline styles for my version of the flickrRSS plugin
