YouTip LogoYouTip

Prop Param Name

# HTML DOM Parameter name Property [!(#) Parameter Object](#) ## Example Get the name of the `` element: ```javascript var x = document.getElementById("myParam").name The output of _x_ is: autoplay [Try it yourself Β»](#) * * * ## Definition and Usage The `name` property is used to set or return the value of the `name` attribute of a parameter. The `name` property specifies the name of the `` element. This property is typically used together with the `value` property to specify the parameters of a plugin defined by the `` tag. The value of the `name` property can be any name supported by the specified object. **Note:** The `name` property is supported by all major browsers. However, the file format defined in `` is not supported by all browsers. * * * ## Browser Support !(#)!(#)!(#)!(#)!(#) The `name` property is supported by all major browsers. * * * ## Syntax Return the `name` property: `parameterObject.name` Set the `name` property: `parameterObject.name=name` ## Property Values | Value | Description | | --- | --- | | _name_ | Specifies the name of the parameter | ## Technical Details | Return Value: | A string representing the name of the parameter | | --- | * * * ## Related Pages HTML Reference: (#) * * Parameter Object](#)
← Dom Obj WeekDom Obj Week β†’

YouTip © 2024-2026 | Home | Learn Technology, Build Dreams!

All content is for educational and learning purposes only.