HBCMS更多的中文手册参考:

VALUE Attribute | value参数属性

DHTML文档教程

Sets or retrieves the default or selected value of the control.

dhtml语法

HTML<ELEMENT VALUE = sValue... >
Scriptingobject.value [ = sValue ]

DHTML可能的值

sValueString that specifies or receives the value for the control.

The property is read/write. The property has no default value for all objects with the following exceptions:
input type=checkboxon
input type=resetreset
input type=submitsubmit query

expressions can be used in place of the preceding value(s), as of microsoft® internet explorer 5. for more information, see about dynamic properties.

Remarks

The purpose of the value property depends on the type of control as described in the following table.
input type=checkboxthe selected value. the control submits this value only if the user has selected the control. otherwise, the control submits no value.
input type=filethe value, a file name, typed by the user into the control. unlike other controls, this value is read-only.
input type=hiddenthe value that the control submits when the form is submitted.
optionthe selected value. the containing list box control submits this value only if the user has selected the option.
input type=passwordthe default value. the control displays this value when it is first created and when the user clicks the reset button.
input type=radiothe selected value. the control submits this value only if the user has selected the control. otherwise, the control submits no value.
input type=resetthe button label. if not set, the label defaults to reset.
input type=submitthe button label. if not set, the label defaults to submit.
input type=textthe default value. the control displays this value when it is first created and when the user clicks the reset button.

是否符合公共标准

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

BUTTON, INPUT, INPUT type=checkbox, INPUT type=hidden, INPUT type=button, INPUT type=radio, INPUT type=reset, INPUT type=submit

更多语法参考

button, input