HTMl5 <button>标签示例
<html> <head> <title></title> </head> <body> </br> <button type="button" onclick="alert('Hello HTML5!')"> 点击按钮!</button> </body> </html>
<button>在HTML 5中的标记用于在网页或者中定义可点击的按钮。
可点击按钮用于执行任何事件。
它意味着点击按钮用于显示任何消息或者在数据库中插入数据。
在<按钮>标签中我们可以放置任何文本或者图像。
日期:2020-04-11 23:04:14 来源:oir作者:oir