0.<button></button>即按钮标签;与<input type="button">不同的是,<button>标签功能更为丰富;按钮标签里的内容可以是文字也可以是图像;如果button的type=“submit” ,那么它就具备提交form的功能;
1.button内为文字
<button>按钮</button>
2.button内为图片
<button><img src="https://how2j.cn/example.gif"/></button>
3.提交数据
<form action="/study/login.jsp">
账号:<input type="text" name="name"> <br/>
密码:<input type="password" name="password" > <br/>
<!-- button标签type设置为submit即可提交 -->
<button type="submit">登陆</button>
</form>