HTML <param> Tag (Obsolete)
⚠️ Obsolete Element
The <param> tag is obsolete in HTML5. It was used with Java applets and Flash plugins, which are no longer supported in modern browsers. Use modern alternatives like JavaScript APIs, Web Components, or iframe for embedding content.
The <param> tag passes parameters to embedded objects inside an <object> element. It's a void element (self-closing) that uses name and value attributes. Note: This tag is obsolete in HTML5 and was primarily used with Java applets and plugins.
Structure and Attributes
The <param> tag must be inside an <object> element, before any fallback content. It requires both name and value attributes. The name attribute specifies the parameter name, and value specifies the parameter value. Multiple param elements can be used to pass multiple parameters.
Historical Use Cases
Historical use cases include: Java applets, Flash plugins, ActiveX controls. Modern alternatives: Use JavaScript APIs, Web Components, or iframe for embedding content. The param tag is deprecated because these technologies are no longer supported in modern browsers.
Modern Alternatives
Instead of using <param> with obsolete technologies, use modern alternatives: JavaScript APIs for interactive content, Web Components for reusable UI elements, iframe for embedding external content, or native HTML5 elements like <video> and <audio> for media.
