ITPub博客

首页 > 应用开发 > > html问题,我修改很多次但也没有找出错误所在。

html问题,我修改很多次但也没有找出错误所在。

作者:zzok111 时间:2019-09-26 10:33:18 0 删除 编辑

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>函数调用</title> <script type="text/javascript"> function contxt() //定义函数 { alert("哈哈,调用函数了!"); } </script> </head> <body> <form> <input type="button" value="点击我" onclick="contxt" /> </form> </body> </html>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1294/viewspace-3164662/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-15

  • 博文量
    93
  • 访问量
    583