按钮和输入之间的区别? [英] Difference between button and input?
本文介绍了按钮和输入之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能存在重复:
<按钮>与<输入类型=按钮相对< /取代。使用哪个?
< button type =buttonname =theButton> SUBMIT< / button>
和< input type =submitvalue =SUBMIT theButton/>
另外,您可以使用< button type =submitname = theButton> SUBMIT< / button>
?
推荐答案
下面是描述差异的页面(基本上你可以把html放到< button> ;< / button>
Here's a page describing the differences (basically you can put html into a <button></button>
另一个页面描述人们避免使用< button>< / button>
的原因(提示:IE6)
And an other page describing why people avoid <button></button>
(Hint: IE6)
参考:< butto n>对<输入类型=按钮 /取代。哪一个可以使用?
另外看看关于按钮的幻灯片。
这篇关于按钮和输入之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文