Summary -

In this topic, we described about the <param> tag along with detailed example.

Passes the parameters to plugin. Used mostly with <object> tag. <param> tag is supported by all browsers. The tag can be specified like <param name="" value=""></param>.

Both name and value attributes are required. The <param> should be coded within an <object> tag. The <param> tag has no end tag as it has no content.

Syntax -

<param name="" value=""></param>

Required Attributes -

nameSpecifies the parameter nameText.
valueSpecifies the parameter valueText.

Optional Attributes -

TypeSpecifies the parameter media type.Not supported in HTML5Media_type
ValuetypeSpecifies the value type.Not supported in HTML5DataRefObject

Example -

<!DOCTYPE html>
		<title>param tag example..</title>
		<object data="audio/new.mp3">
			<param name="autoplay" value="true">

Output -

Note! Audio track will be auto played if the Audio controls allowed on the page. Unmute to hear the audio.