Double tap the Home button to bring up the multitasking applications view, then tap and hold on an app (as if you were arranging your home screen). A small red circle will appear on each app; tap one to close that app. And, of course, you can still swipe through the list to see more.
[crarko adds: I can't test this one on my iPhone 3G. Please confirm that this works.]

