Loading...
HTML <param> Tag

HTML <param> Tag

In this tutorial, we will learn about param tag in HTML with the help of examples.


<param> Tag

P tag <param> is used to define parameters for objects inside the <object> tag.

Syntax

<param />

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Param Tag</title>
  </head>
  <body>
    <object title = "myMusic">
      <param name = "audio" value = "../audiofiles/audio.mp3"/>
      <param name = "width" value = "600"/>
      <param name = "height" value = "400"/>
    </object>
  </body>
</html>

Specific Attribute

Attribute Value Description
name parameter type It is used to defines a unique name for the parameter
type MIME type It specifies the internet media type for the parameter
value value It specifies the value of the parameter
valuetype data
ref
object
It specifies the MIME type of the value

Global Attribute

Param Tag support all the global attributes of HTML.


Event Attribute

Param Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <param tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <picture> Tag.

- Related Topics