<input type="submit"> 即为提交按钮
用于提交form,把数据提交到服务端
示例 1 :
提交按钮
<form action="/study/login.jsp" method="get"> 账号:<input type="text" name="name"> <br/> 密码:<input type="password" name="password" > <br/> <input type="submit" value="登陆"> </form>
<input type="submit"> 即为提交按钮
用于提交form,把数据提交到服务端
示例 1 :
<form action="/study/login.jsp" method="get"> 账号:<input type="text" name="name"> <br/> 密码:<input type="password" name="password" > <br/> <input type="submit" value="登陆"> </form>