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

name attribute | name property

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

Syntax

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

p = object.name

 

Property values

Type: String

the name which is passed to an applet, embed, or object element.

Standards information

Remarks

In Microsoft Internet Explorer 6 and later, name is a read/write property.

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:
© 2015 Microsoft