esp 8266 web server

I have to follow the instructions of the article: http://allaboutee.com/2014/12/30/esp8266-and-arduino-webserver/ but did not know how to display the status of the leds on the web server on esp 8266 for the lED is turned on or not, you can help me?

Why not look at the example provided instead of the basic web server which you linked to ? http://allaboutee.com/2015/01/02/esp8266-arduino-led-control-from-webpage/