`
minmai
  • 浏览: 30701 次
社区版块
存档分类
最新评论

html button

    博客分类:
  • html
阅读更多
http://www.w3schools.com/tags/tag_button.asp
Inside a <button> element you can put content, like text or images. This is the difference between this element and buttons created with the <input> element.

Tip: Always specify the type attribute for a <button> element. Different browsers may use different default types for the <button> element.

Important: If you use the <button> element in an HTML form, different browsers may submit different values. Internet Explorer, prior version 9, will submit the text between the <button> and </button> tags, while other browsers will submit the content of the value attribute. Use the <input> element to create buttons in an HTML form.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics