W3Schools.com

HTML <param> Tag

Example

Set the "autoplay" parameter to "false", so the sound won't start playing as soon as the page loads:

<object data="horse.wav">
  <param name="autoplay" value="false" />
</object>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <param> tag is supported in all major browsers. However, the file format defined in <object> may not be supported in all browsers.


Definition and Usage

The <param> tag is used to define parameters for plugins embedded with an <object> element.


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 HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute Value Description DTD
name name Specifies the name of a parameter STF

Optional Attributes

Attribute Value Description DTD
type MIME_type Specifies the MIME type of the parameter STF
value value Specifies the value of the 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.


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE