Anybody who is learning to code should look at Notepad2, it's a free program that will highlight code for you.
http://www.flos-freeware.ch/zip/notepad2.zip
As I said, totally free and simple to use, it can highlight many different forms of code and also gives you what number line etc you are coding on.
This is defiantly a great program for beginner coders.
For web development, I still recommend Dreamweaver as it gives you previews and a WYSIWYG editor - you can download the trial at adobe.com