你的位置:首页 > 软件开发 > 网页设计 > 【html】button按钮的一些问题

【html】button按钮的一些问题

发布时间:2015-07-08 13:01:44
问题:button 按钮在不设置 type 属性时,在不同的浏览器作用不一样。举个例子:html:<!doctype html><html lang="en"><head> <meta charset="U ...

问题:

button 按钮在不设置 type 属性时,在不同的浏览器作用不一样。举个例子:

html:

<!doctype html><html lang="en"><head>  <meta charset="UTF-8"/>  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>  <meta name="renderer" content="webkit"/>  <meta name="keywords" content=""/>  <meta name="description" content=""/>  <title>button按钮的一些问题</title></head><body>  <form action="result.php" method="post">    <input type="text" name="txt" placeholder="随便输入点什么吧!" autocomplete="off"/>    <button>button点击提交</button>  </form></body></html>

原标题:【html】button按钮的一些问题

关键词:HTML

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。