Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
value (Button element)
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Collapse the table of content
Expand the table of content

value attribute | value property

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

Syntax

HTML<element value="p" ... >
JavaScript

p = object.value

 

Property values

Type: String

the value for the control.

See also

button

 

 

Show:
© 2015 Microsoft