all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

value attribute | value property

Sets or retrieves the value of an input parameter for an element.

Syntax

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

p = object.value

Property values

Type: String

the value passed to an applet, embed, or object element.

Standards information

Examples

The following example shows how to use the param element to specify a run-time parameter for the object specified by the object element. A URI is specified for the Windows Media Player control.


<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" 
value="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/28movie.asf"
valuetype="ref" TYPE="video/*"/>
</object>

See also

param
Conceptual
Binding HTML Elements to Data
Introduction to Data Binding

 

 

Show:
© 2014 Microsoft. All rights reserved.