W3Schools.com

HTML5 <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.

Tip: HTML 5 also includes two new elements for playing audio or video: The <audio> and <video> tags.


Differences Between HTML 4.01 and HTML5

HTML 4.01 attributes "type" and "valuetype" are not supported in HTML5.


Attributes

Attribute Value Description
name name Specifies the name of the parameter
type MIME_type Not supported in HTML5.
value value Specifies the value of the parameter
valuetype data
ref
object
Not supported in HTML5.

Global Attributes

The <param> tag also supports the Global Attributes in HTML5.


Event Attributes

The <param> tag also supports the Event Attributes in HTML5.


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