微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在HTML5中提交提交按钮?

给予 W3C’s HTML5 spec for the submit button

A button element must have both a start tag and an end tag.

具有开始和结束标签的提交按钮的示例是什么?

>< button type =“submit”>
>< button type =“submit”/>
>< button type =“submit”>< / button>
> 2& 3
>以上都没有

其他“singleton”标签的答案也一样,例如< input>或< img>?

解决方法

<button type="submit">Click me</button>

W3CMDN有更多的信息。

原文地址:https://www.jb51.cc/html5/169093.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。