🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.
REFERENCEhtml

html Documentation

LOADING ENGINE...

<param>

AI & DATA SCIENCE // param-tag

The <param> element defines a name/value parameter for an <object>, historically used to configure browser plugins like Flash.

Syntax

<object data="movie.swf" type="application/x-shockwave-flash">
  <param name="autoplay" value="true">
</object>

Deep Dive Course

**`<param>`** is a void element, always nested inside `<object>`, providing a `name`/`value` pair the embedded plugin reads as configuration — historically this was almost entirely used to configure Adobe Flash movies (autoplay, loop, quality settings) before Flash was discontinued across all major browsers in 2020-2021. With Flash and most other plugin-based embeds gone, `<param>` has very little practical use in modern web development, though it remains part of the HTML spec for the rare legacy `<object>`-based embed that still relies on it.

1Understanding <param>

`<param>` is a void element, always nested inside <object>, providing a name/value pair the embedded plugin reads as configuration — historically this was almost entirely used to configure Adobe Flash movies (autoplay, loop, quality settings) before Flash was discontinued across all major browsers in 2020-2021. With Flash and most other plugin-based embeds gone, <param> has very little practical use in modern web development, though it remains part of the HTML spec for the rare legacy <object>-based embed that still relies on it.

💡

Since Flash's end-of-life, <param> is functionally obsolete for the vast majority of real-world use — you're extremely unlikely to need it in new code today.

editor.html
<!-- Legacy Flash configuration (non-functional in any modern browser) -->
<object data="banner.swf" type="application/x-shockwave-flash">
  <param name="loop" value="true">
  <param name="quality" value="high">
</object>
localhost:3000

2Practical Example

Here is a real-world application of <param> showing how it is used in production HTML.

editor.html
<!-- Modern replacement: HTML5 video, no <param> needed -->
<video loop>
  <source src="banner.mp4" type="video/mp4">
</video>
localhost:3000

3Best Practices

Follow these guidelines when working with <param>:

1. Avoid <param> in new code — the plugin ecosystem it configured (Flash and similar) no longer exists in browsers

2. If maintaining legacy code with <param>, understand it's likely tied to a Flash movie that no longer functions in any modern browser

3. Migrate any legacy Flash-based <object>/<param> content to modern HTML5 video/audio/canvas equivalents

⚠️

Tip: Since Flash's end-of-life, <param> is functionally obsolete for the vast majority of real-world use — you're extremely unlikely to need it in new code today.

editor.html
<!-- Legacy Flash configuration (non-functional in any modern browser) -->
<object data="banner.swf" type="application/x-shockwave-flash">
  <param name="loop" value="true">
  <param name="quality" value="high">
</object>
localhost:3000

Examples

Example 01Basic Usage
<!-- Legacy Flash configuration (non-functional in any modern browser) -->
<object data="banner.swf" type="application/x-shockwave-flash">
  <param name="loop" value="true">
  <param name="quality" value="high">
</object>
Example 02Advanced Example
<!-- Modern replacement: HTML5 video, no <param> needed -->
<video loop>
  <source src="banner.mp4" type="video/mp4">
</video>

Best Practices

  • Avoid in new code — the plugin ecosystem it configured (Flash and similar) no longer exists in browsers
  • If maintaining legacy code with , understand it's likely tied to a Flash movie that no longer functions in any modern browser
  • Migrate any legacy Flash-based / content to modern HTML5 video/audio/canvas equivalents

    Interview Question

    Why is <param> essentially obsolete in modern web development?

    Hint: Think about what kind of embedded content <param> was almost exclusively used to configure.

    <param> existed almost entirely to pass configuration options to browser plugins, most commonly Adobe Flash. Since every major browser removed Flash support by the end of 2020/2021, the vast majority of real-world <param> usage configures content that simply can't run anymore. Modern equivalents — native <video>/<audio> attributes, Canvas, WebGL — replace what Flash (and by extension <param>) used to provide, without needing a plugin or its parameter-passing mechanism at all.

    Exercises

    EasyPractice using <param> in a real scenario.
    View Solution
    <!-- Legacy Flash configuration (non-functional in any modern browser) -->
    <object data="banner.swf" type="application/x-shockwave-flash">
      <param name="loop" value="true">
      <param name="quality" value="high">
    </object>

    Frequently Asked Questions

    Why is <param> essentially obsolete in modern web development?

    existed almost entirely to pass configuration options to browser plugins, most commonly Adobe Flash. Since every major browser removed Flash support by the end of 2020/2021, the vast majority of real-world usage configures content that simply can't run anymore. Modern equivalents — native

    Related Functions

    object-tag