Smashing Magazine’s artilce 12 Principles for Keeping your Code Clean includes using a Strict DOCTYPE, properly encoded characters and character set, human readable indentation, external stylesheets and JavaScript files, and properly nested tags. You should eliminate unnecessary divs, review your naming conventions, and leave the typography up to the stylesheets. Also, use ID on your body tag to help target pages and logical ordering of your content, and validate for consistency. Most important of all - just do what you can. It’s about improving your game over time.
Bookmark/Search this post with:
Delicious
Digg
Reddit
Technorati