Since I code every HTML, CSS and PHP line "by hand" there is no alternative other than TextMate. It's simply the best!
TextMate has support for more languages than I'll ever need and it is frequently updated.
One can easily extend it's functions with small scripts and "snippets".
Revolution let's me build "real" applications for Mac OS X and Windows from exactly the same code. Simply unbeatable!
PHP is a script-based language that creates HTML on-the-fly. Used to get functions into webpages and also to talk to databases.
When it comes to "automatic" image-handling in web-applications, I use ImageMagick. Supports all the major image-formats.
