< input type ="按钮"之间的区别是什么? />和<按钮>? [英] What's the difference between <input type="button" /> and <button>?
本文介绍了< input type ="按钮"之间的区别是什么? />和<按钮>?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
直到今天,我还不知道< button>
标记。
I didn’t know about the <button>
tag until today.
推荐答案
基本上,< button>
更灵活,因为它可以包含其中的其他标签。就像
Basically, <button>
is more flexible as it can contain other tags inside it. Like,
<button type="submit"><strong>Click</strong> me, <em>user!</em></button>
您无法通过常规< input>
。
这篇关于< input type ="按钮"之间的区别是什么? />和<按钮>?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文