HTML <param> Tag
Example
Add an object to an HTML page:
<object classid="clsid:F08DF954-8592-11D1-B16A-00C0F0283628"
id="Slider1" width="100" height="50">
<param name="BorderStyle" value="1" />
<param name="MousePointer" value="0" />
<param name="Enabled" value="1" />
<param name="Min" value="0" />
<param name="Max" value="10" />
</object> |
Try it yourself » |
Definition and Usage
The <param> tag is used to define parameters or variables for an object or applet element.
Browser Support

The <param> tag is supported in all major browsers.
Differences Between HTML and XHTML
In HTML the <param> tag has no end tag.
In XHTML the <param> tag must be properly closed.
Required Attributes
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
| Attribute |
Value |
Description |
DTD |
| name |
name |
Defines the name for a parameter (to use in script) |
STF |
Optional Attributes
| Attribute |
Value |
Description |
DTD |
| type |
MIME_type |
Specifies the MIME type for a parameter |
STF |
| value |
value |
Specifies the value of a parameter |
STF |
| valuetype |
data
ref
object |
Specifies the type of the value |
STF |
Standard Attributes
The <param> tag supports the following standard attributes:
| Attribute |
Value |
Description |
DTD |
| id |
id |
Specifies a unique id for an element |
STF |
More information about Standard Attributes.
Event Attributes
The <param> tag does not support any event attributes.
More information about Event Attributes.

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data.
Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions.
Download a free, fully functional 30-day trial to experience the following features:
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
Download a fully-functional trial today!
|
|
|
|