

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to add a parameter for an object in HTML?
Use the <param> tag to add a parameter for an object. The HTML <param> tag also supports the following additional attributes −
Attribute | Value | Description |
---|---|---|
name | parameter type | Defines a unique name for the parameter. |
type | MIME type | Specifies the internet media type for the parameter. |
value | value | Specifies the value of the parameter. |
valuetype | data ref object | Specifies the MIME type of the value. |
Example
You can try to run the following code to implement <param> tag in HTML −
<!DOCTYPE html> <html> <head> <title>HTML param Tag</title> </head> <body> <object title = "Test Object." classid = "java.class"> <param name = "audio" value = "music.wav" /> <param name = "width" value = "600" /> <param name = "height" value = "400" /> </object> </body> </html>
- Related Questions & Answers
- HTML DOM Parameter Object
- How to add a unique id for an element in HTML?
- How to pass an object as a parameter in JavaScript function?
- How to add a spellchecker for text in HTML?
- How to add a container for an external (non-HTML) application in HTML5
- How to add an element to a javascript object?
- How to use an alias() for the parameter in PowerShell?
- How to add an object to a canvas using FabricJS?
- How to add an address element in HTML?
- How to add an inline layer in HTML?
- How to add an unordered list in HTML?
- How to include an embedded object in HTML?
- How to add an audio player to an HTML webpage?
- How to pass a json object as a parameter to a python function?
- How to define rest parameter for a function in JavaScript?
Advertisements