Run
Online Code Editor
This is an example of using onclick attribute in HTML.
Click the following button to see the effect.
Click me