Just wanted to pass on a tip.
Editors, one of my favorite editors is pspad
http://www.pspad.com
Has built in syntax checking and such for just about any scripting you want to do.
Has a great html interface that allows you to compress or expand html. If you expand, it lays out a stacked page that makes it super easy to spot tag errors.
Has a nice search and replace too.