Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <input type="button" id="button" onclick="welcome()" value="Button"> <script> function welcome() { alert('Welcome') } </script> </body> </html>