HTML <param> Tag

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 3 Examples
Embedded Objects

What You’ll Learn

In the vast landscape of HTML elements, the <param> tag plays a unique role, serving a specific purpose within certain contexts. This guide will delve into the intricacies of the HTML <param> tag, providing insights into its usage and implementation.

01

What param is

Object settings.

02

Syntax

Inside object.

03

name/value

Key pairs.

04

Media params

autoplay, loop.

05

Plugins

Legacy embeds.

06

Modern alt

audio/video.

What Is the <param> Tag?

The <param> tag is an HTML element commonly used within the <object> element. It allows you to define parameters or attributes for plugins embedded on a web page. While its usage is specific to certain scenarios, understanding how to implement it correctly is crucial for reading legacy HTML and seamless integration.

💡
Not visible on its own

param is a void element with no rendered output. It only configures the parent object embed. For everyday media today, prefer audio, video, and img instead of object + param.

📝 Syntax

To utilize the <param> tag, place it within the opening and closing <object> tags, specifying the necessary attributes:

syntax.html
<object data="resource.swf" type="application/x-shockwave-flash">
  <param name="parameter_name" value="parameter_value">
  <!-- Fallback content for non-supporting browsers -->
</object>

Syntax Rules

  • Nest param only inside object (or historical applet, which is obsolete).
  • param is void — use <param ...> without inner content.
  • Place param elements before fallback HTML inside object.
  • Always pair meaningful name and value attributes together.

⚡ Quick Reference

TopicCode SnippetNotes
Basic parameter<param name="autoplay" value="true">Inside object
Multiple paramsSeveral param siblingsOne setting each
Parent element<object data="..." type="...">Required container
Fallback contentHTML after all param tagsWhen embed fails
Modern media<audio> / <video>Prefer over object+param
Legacy pluginsFlash, Java appletsNo longer supported

⚖️ <param> + <object> vs <audio> / <video>

ApproachWhen it was usedUse today?
object + paramPlugin embeds (Flash, applets)Legacy HTML only
audio / videoNative HTML5 media playbackYes — standard
img / pictureImages and responsive art directionYes — standard
iframeEmbedded documents and appsYes — when needed

🧰 Attributes

The <param> tag typically employs two essential attributes: name and value. The name attribute specifies the name of the parameter, while the value attribute sets its corresponding value.

attributes.html
<object data="player.swf" type="application/x-shockwave-flash">
  <param name="autoplay" value="true">
  <!-- Fallback content -->
</object>
name Required

Identifies the parameter key understood by the embedded resource or plugin.

name="autoplay"
value Required

Sets the value assigned to the named parameter.

value="true"
type Optional

Specifies the MIME type of the value when the parameter value is a resource URL.

type="image/png"
valuetype Optional

Indicates how to interpret value: data, ref (URL), or object.

valuetype="data"

Examples Gallery

See how param configures embedded object resources and when modern HTML replaces this pattern.

👀 Live Preview

Structure of param elements nested inside object:

📚 Common Use Cases

Historically, <param> configured plugin-based embeds inside object. These patterns help you read older pages even though modern sites use native HTML5 elements.

Embedding Media Players

The <param> tag is commonly used when embedding media players, allowing you to set specific parameters such as autoplay, loop, or volume:

embedding-media-players.html
<object data="video_player.swf" type="application/x-shockwave-flash">
  <param name="autoplay" value="true">
  <param name="loop" value="false">
  <p>Your browser does not support Flash content.</p>
</object>
Legacy note: Flash is obsolete. Use <video controls> with autoplay and loop attributes for media today.
Try It Yourself

Plugin Configuration

When integrating third-party plugins or applets, the <param> tag facilitates the configuration of various parameters required by the plugin:

plugin-configuration.html
<object data="plugin_applet.jar" type="application/x-java-applet">
  <param name="param1" value="value1">
  <param name="param2" value="value2">
  <p>Your browser does not support Java applets.</p>
</object>
Try It Yourself

Basic name and value

A minimal param pair inside object with fallback text:

basic-param.html
<object data="/audio/count.mp3" type="audio/mpeg" width="320" height="54">
  <param name="autoplay" value="true">
  <p>Your browser does not support the audio.</p>
</object>

♿ Accessibility

  • Always provide fallback content — Place readable HTML inside object after param tags when the embed cannot load.
  • Do not rely on plugins — Flash and applets were inaccessible for many users; native audio/video with controls is the accessible path.
  • Avoid autoplay — Legacy autoplay params can surprise screen reader users; let visitors start media intentionally.
  • Link alternatives — Offer a direct download or transcript link in fallback content when possible.

🧠 How <param> Works

1

Author embeds object

An object points to an external resource with data and type.

object
2

param sets options

Each param supplies a name/value pair read by the plugin or embed handler.

Configure
3

Browser loads or falls back

If the resource cannot render, nested fallback HTML inside object is displayed.

Fallback
=

Configured embed or graceful fallback

Parameters tailor plugin behavior when supported; fallback keeps the page usable when not.

Browser Support

Understanding the compatibility of the <param> tag across different browsers is essential for delivering a consistent user experience. The param element itself is supported everywhere; legacy plugin MIME types are not.

Baseline · HTML5

param element supported

All browsers parse <param> inside object. Flash and Java applet plugins are no longer available in modern browsers.

100% <param> element
Google Chrome Fully supported
Full support
Mozilla Firefox Fully supported
Full support
Apple Safari Fully supported
Full support
Microsoft Edge Fully supported
Full support
Internet Explorer Legacy plugin era
Full support
Opera Fully supported
Full support
<param> tag 100% — element syntax

Note: Flash (application/x-shockwave-flash) and Java applets have 0% support in modern browsers. Use audio, video, and JavaScript instead.

Conclusion

While the <param> tag might not be an everyday HTML element, it serves a crucial role in specific scenarios, particularly when configuring parameters for embedded plugins or applets. Mastering its implementation ensures you can read legacy HTML and provide proper fallback content when older embed patterns no longer work.

💡 Best Practices

✅ Do

  • Use the <param> tag within the context of the <object> element
  • Ensure proper values for the name and value attributes
  • Test the implementation across various browsers to guarantee consistent behavior
  • Provide meaningful fallback HTML inside object
  • Prefer audio, video, and img for new media embeds

❌ Don’t

  • Use param outside object
  • Depend on Flash or Java applet plugins in new projects
  • Leave object without fallback content
  • Assume param settings work the same across all plugin types
  • Use incorrect MIME types (e.g. audio/mp3 instead of audio/mpeg)

Key Takeaways

Knowledge Unlocked

Six truths every developer should know about <param>

Bookmark these when you encounter embedded objects in HTML.

6
Core concepts
🔑 02

name/value

Key pairs.

Attributes
🎬 03

Media params

autoplay, loop.

Use cases
📦 04

Fallback HTML

Inside object.

Resilience
🔊 05

audio/video

Modern path.

Alternative
06

100% Syntax

All browsers.

Compatibility

❓ Frequently Asked Questions

It defines name-value parameters for an embedded object element, such as autoplay or loop settings passed to a plugin.
Inside <object>, before any fallback HTML content. It is not a standalone visible element.
The essential pair is name (parameter key) and value (parameter value).
No. Use <video> and <audio> directly. param is mainly for legacy plugin embeds and reading older HTML.
Yes. The param element is supported in all browsers. Legacy plugin types like Flash and Java applets are no longer supported.

Configure object parameters

Practice name and value pairs inside object in the Try It editor.

Try basic param →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

6 people found this page helpful