Posts in current category

HTML5 <param> tag

May 03, 2021 18:00 HTML5

Table of contents

HTML5 is a name-value pair of run-time parameters that provide embedded content. Please refer to the following example:

Set the parameter "autoplay" to "true" and the audio will play automatically when loaded:

<object data="horse.wav">
  <param name="autoplay" value="true">
Try it out . . .

Browser support

HTML5 <param> tag HTML5 <param> tag HTML5 <param> tag HTML5 <param> tag HTML5 <param> tag

The tag supports most major browsers. However, not all browsers support the file format defined.

Label definition and instructions for use

The element allows you to specify run-time settings for objects inserted into an XHTML document, that is, this label can provide parameters for the label that contains it.

The difference between HTML 4.01 and HTML5

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

Differences Between HTML and XHTML

In HTML, the label does not end the label.

In XHTML, the label must be turned off correctly.


Property Value Describe
name name Define the name of the argument (used in the script).
type MIME_type HTML5 is not supported. Define the MIME type parameters.
value value Describes the parameter value.
valuetype data
HTML5 is not supported. Describes the type of value.

Global properties

The label supports global properties and views the full property sheet HTML global properties.

The event property

The label supports all HTML event properties.