Scribu who is the author of the Front-end Editor plugin that I reviewed in April 2009 has published some common mistakes found within themes. For some reason, themes sometimes don’t have the wp_footer template tag declared which is used by analytic plugins such as Woopra and by Front-end editor. The other problem deals with the_title being used in the wrong places. If you’re an aspiring theme developer, keep these mistakes in mind and don’t make them!
Category: Themes
Also, anything dynamic that you put in an html attribute should be run through esc_attr() first. That will prevent it from having quoting problems and other such things.