源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <button type="button" onclick="alert('Hello World!')">点击我!</button> </body> </html>
运行结果