Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML param value attribute

HTML value attribute

HTML param Tag Reference HTML tag

Example

Set the "autoplay" parameter to "true" so that the sound starts playing automatically when the page loads:

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the value attribute. However, the file formats defined in it are not supported by all browsers.


Definition and Usage

The value attribute specifies the The value of the element.

this attribute is usually used together with the name attribute to specify the the tag.

The value of the value attribute can be any value supported by the specified object.


Differences between HTML 4.01 and HTML5

none.


Syntax

HTML tag