Run
Online Code Editor
Example of onclick event
Click on the Given text for changing it:
Hello World!