In this Arduino Tutorial 2 Relays were controlled. LED’s for indication were also used.
Download # Arduino Code (*.ino file)
Upload Arduino code directly to your Microcontroller from website
If you want to integrate Arduino IDE into your website (as above) sign up here: codebender