img src = URl or img src = image_name.jpg
Here the src property sets or returns the value of the src attribute of an image. The required src attribute specifies the URL of an image.
There are two states of the bulb is used which are specified below-
Initial state of bulb (OFF STATE):
After clicking on bulb (ON STATE):
Before clicking on the bulb-
After clicking on the bulb-