You are here: Reference > HTML > attributes > valueType (param)

valueType attribute (param)

Browser support:
Specifies the type of the object that is set with the value attribute.
JavaScript page for this attribute: valueType. You can find other example(s) there.

Possible values:

String that sets the type of the data.
One of the following values:
Default. The contents of the value attribute is a string.
The contents of the value attribute is an identifier.
The contents of the value attribute is a URI. The MIME type of the resource designated by the value attribute can be specified with the type attribute.
Default: data.

Example HTML code 1:

This example illustrates the use of the valueType attribute with Windows Media Player:
<object type="application/x-mplayer2" data="testVideo.wmv" width="320px" height="286px">
    <param name="src" value="testVideo.wmv" valuetype="ref" type="video/x-ms-wmv" />
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content