name attribute | name property
Sets or retrieves the name of an input parameter for an element.
Syntax
| HTML | <element name="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the name which is passed to an applet, embed, or object element.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
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
Show: