The HTML5 param Tag
Incorporating plugins that are embedded within the document is sometimes inevitable for the authors. During such situations, it is necessary to utilize the functions of the HTML5 <param> tag. This tag is used to specify the parameters of the plugins.
The use of HTML5 <param> tag has to be carefully noted because this tag is used differently in HTML5 and HTML4.01. In HTML5, there are new elements added. These are the <audio> and <video> tags. For HTML4.01, the attributes like <type> and <valuetype> are still used but these are no longer supported in HTML5.
The important thing is that the HTML5 <param> tag is supportive of the Global Attributes and Event Attributes in HTML5. The HTML5 <param> tag is also compatible with the major web browsers like Safari, Internet Explorer, Opera, Google Chrome and Firefox.
The attributes for HTML5 <param> tag are the following:
Attribute |
Value |
Description |
name |
name |
This is the tool in providing the name for the parameter |
type |
MIME_type |
This is no longer used and supported in HTML5. |
value |
value |
This is the key in determining the value of the parameter |
valuetype |
data |
This is no longer used and supported in HTML5. |