当前第2页 返回上一页
使用当然是要看实例了:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" >
< title >php中文网</ title >
</ head >
< body >
< button type = "button" >这是一个PHP中文网</ button >
< hr />
< br />
< button type = "button" >
< img src = "http://ypimg.muzhuangnet.com/Collect/csharp/upload/course/000/117/584/5aa8cd08b9cf9363.jpg" width = "100" height = "50" >
</ button >
< hr />
< button type = "button" autofocus = "autofocus" >已经获得焦点</ button >
< hr />
< button type = "button" disabled = "disabled" >失效</ button >
< form action = "http://www.php.cn"
method = "get" >
请选择你喜爱的项目:
< button name = "subject" type = "submit" value = "HTML" >HTML</ button >
< button name = "subject" type = "subject" value = "CSS" >CSS</ button >
</ form >
</ body >
</ html >
|
如图,效果也很简单。我们一起来看看:

效果是不是很明显,把能用的都用上了。
好了,以上就是这篇文章的全部内容了,介绍了关于button按钮标签的一些用法和作用。有问题的可以在下方提问。
【小编推荐】
html中的字体颜色怎么设置?css设置字体颜色方法介绍
html5 header标签怎么用?html5 header标签的作用介绍
以上就是html button标签怎么使用?html button标签有什么作用?的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
在html中图像标签是什么意思
html中相对路径和绝对路径的区别
html段落元素中怎么设置空格?html空格的设置总结
html a标签是怎么使用的?html a标签的使用总结
html文件的中文乱码问题与在浏览器中的显示问题
html如何给div加边框
html文件中include文件内容应该如何使用
html和html5的区别是什么
html以及css的常用用法
html下拉框怎么做
更多相关阅读请进入《button》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » html button标签怎么使用?html button标签有什么作用?