HTML元素 - input_type_reset

元素定义

创建一个按钮,点击该按钮后,将重置表单控件回其初始值。

Creates a button that, when clicked, resets the form's controls to their initial values.

元素说明

value 属性指定了显示在重置按钮上的标签,这和 INPUT type=submit 按钮的 value 属性作用一样。

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

此元素是一个内嵌元素。

此元素不需要关闭标签。

The value property specifies the label displayed on the Reset button the same way it specifies it on the INPUT type=submit button.

The INPUT type=reset 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.

另见

button, input

相关教程和示例代码

HTML表单