Tutorials Point


  HTML Home

  HTML Tags Reference
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

HTML <param> tag




Advertisements

Function:

The HTML <param> tag is used for passing parameters to an embedded object using <object> tag.

Difference between HTML and XHTML:

In HTML the <param> tag has no end tag.

In XHTML the <param> tag must be properly closed.

Example:

<object title="Test Object." classid="java.class">
  <param name="audio" value="music.wav" />
  <param name="width" value="600" />
  <param name="height" value="400" />
</object>

Further detail on <object> tag can be found in Embed Multimedia Chapter.

Attributes:

AttributeValueDescription
nameparameter nameDefines a unique name for the parameter
typeMIME typeSpecifies the internet media type for the parameter.
valuevalueSpecifies the value of the parameter.
valuetypedata
ref
object
Specifies the MIME type of the value.

Standard Attributes:

AttributeDescription
idDocument wide identifier

Printer Friendly

Advertisements


  

Advertisements