首页 > 资讯 > input type=submit

input type=submit

定义

创建一个按钮,点击该按钮后,即提交表单。

Creates a button that, when clicked, submits the form.

注释

使用 VALUE 标签属性将创建无法由用户编辑的显示标签。默认的文字是 Submit Query。如果用户单击提交按钮提交了表单,并且按钮指定了 name 标签属性,那么该按钮也将以 name/value 方式成对提交。

如果 INPUT type=submit 元素是 FORM 元素的一部分,则该按钮将以粗边框显示,这代表着用户按回车就可提交表单。

如果在同一表单中有多个 INPUT type=submit 按钮,按回车键将使用第一个 INPUT type=submit 按钮提交表单,除非此时正有另一个 INPUT type=submit 按钮获得了焦点。如果另外一个 INPUT type=submit 按钮已获得焦点,按回车键将使用获得焦点的 INPUT type=submit 按钮提交表单。

此元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。

此元素是一个内嵌元素。

此元素不需要关闭标签。

Use the VALUE attribute to create a button with a display label that cannot be edited by the user. The default label is Submit Query. If the user clicks the Submit button to submit the form, and that button has a name attribute specified, that button contributes a name/value pair to the submitted data.

If the INPUT type=submit element is part of a FORM element, it appears as a button with a dark border, which indicates the user can press ENTER to submit the form.

When there is more than one INPUT type=submit in the same form, pressing enter submits the form using the first INPUT type=submit, unless another INPUT type=submit has focus. When another INPUT type=submit has focus, pressing enter submits the form using that INPUT type=submit.

The INPUT type=submit element is available in HTML and script as of Internet Explorer 3.0.

This element is an inline element.

This element does not require a closing tag.

示例代码

<input type="submit" value="提交">

演示示例

另见

button, input

相关教程和示例代码

HTML表单

相关知识

我的世界type=item,r=!100什么意思?
饮用吉姆奈玛茶有哪些功效
卫生与体育教育科学学士学位
一个计算BMI健康指数的小程序,无需后台,可直接发布
健康减肥 了解碧生源减肥茶的副作用
身体护理ems减肥瘦身超声波按摩器身体按摩器产品发光二极管光疗美容产品脂肪燃烧器 - Buy Ultrasound Cavitation Machine Body Slimming Fat Burning Machine body Care Products sonic Ion Ems Body Sliming Instrument Product on Alibaba.com
材料一:国家有关部门根据学生体质健康数据,进行统计分析,全面了解学生健康状况及变化趋势,制定了《国家学生体质健康标准》,其中高一男生的正常体重指数为16.5~23.2。 材料二:体重指数BMI是国际,上常用来衡量人体肥胖程度的重要标志,
如何用python测量bmi
硬核奶爸做个“智能婴儿监视器”:啼哭自动通知,还能分析哭声含义
520: Web server is returning an unknown error

网址: input type=submit https://m.trfsz.com/newsview461482.html