input type=reset - HTML元素

来源:百度文库 编辑:神马文学网 时间:2024/04/27 15:08:15
元素定义
创建一个按钮,点击该按钮后,将重置表单控件回其初始值。
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表单