param element | param object
[This documentation is preliminary and is subject to change.]
Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.
![]() ![]() |
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 13.3.2
HTML information
| Closing Tag | forbidden |
|---|---|
| CSS Display |
DOM Information
Inheritance Hierarchy
Remarks
The PARAM element is valid within the APPLET, EMBED, and OBJECT elements.
Note Properties set by a PARAM element cannot be altered by changing the PARAM object.
After the APPLET, EMBED, or OBJECT element is instantiated, the property set by the PARAM element cannot be changed with the param object. To change the object's properties, use the script properties exposed by the object.
Examples
This example displays the Internet Explorer Data Binding component's outerHTML so you can view the properties assigned by the PARAM elements. You can perform this check to gather information when debugging an OBJECT element's properties. You cannot edit the object's outerHTML property without reintializing the outerHTML object.
// The OBJECT CLASSID below is for the
// Microsoft Internet Explorer Data Binding component
// Use just the following HTML and press the button
<OBJECT
ID=tdcContents
CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
<PARAM NAME="DataURL" VALUE="DataBinding.csv">
</OBJECT>
<BUTTON onclick="oTxt.value=tdcContents.outerHTML">
Show Object outerHTML</BUTTON><BR/>
<TEXTAREA ID="oTxt" STYLE="height:400; width:450;padding:3; overflow=auto;"> </TEXTAREA>
//When the button is pressed the complete list of the object's
// PARAM elements display unformatted in the TEXTAREA as follows:
<OBJECT id=tdcContents classid=clsid:333C7BC4-460F-11D0-BC04-0080C7055A83>
<PARAM NAME="RowDelim" VALUE=" "><PARAM NAME="FieldDelim" VALUE=",">
<PARAM NAME="TextQualifier" VALUE='"'><PARAM NAME="EscapeChar" VALUE="">
<PARAM NAME="UseHeader" VALUE="0"><PARAM NAME="SortAscending" VALUE="-1">
<PARAM NAME="SortColumn" VALUE=""><PARAM NAME="FilterValue" VALUE="">
<PARAM NAME="FilterCriterion" VALUE="??"><PARAM NAME="FilterColumn" VALUE="">
<PARAM NAME="CharSet" VALUE=""><PARAM NAME="Language" VALUE="">
<PARAM NAME="CaseSensitive" VALUE="-1"><PARAM NAME="Sort" VALUE="">
<PARAM NAME="Filter" VALUE=""><PARAM NAME="AppendData" VALUE="0">
<PARAM NAME="DataURL" VALUE="DataBinding.csv">
<PARAM NAME="ReadyState" VALUE="4">
</OBJECT>
Build date: 3/8/2012
The following code displays an embedded browser window containing a text document, provided the text document is readable:
<OBJECT DATA="file.txt" HEIGHT=100 WIDTH=100% ></OBJECT >
The following code displays an empty window:
<OBJECT DATA="file.txt" HEIGHT=100 WIDTH=100%
><PARAM NAME=A ></OBJECT >
- 9/7/2008
- yecril

