Control an LED with the Raspberry Pi and via the web

What a great little device the Raspberry Pi is! After my initial setup it is time to play around with the input and output pins. The first example has to be to switch on an LED. This can also be done remotely via a web interface and better, I cannot only switch the LED off, but the whole Raspberry Pi as well. Thanks to the work of many others, it is straightforward to control the GPIO (General-purpose input/output) pins.