HTML valuetype attribute


The purpose of the HTML valuetype attribute is to specify the value type for a param element within an object definition.

Supported elements

HTML value attribute supports param element.


<param valuetype="value" >.....</param>

Type of value



Can be data if the value is evaluated and passed as a string, ref if the value is a URL and is unevaluated when passed, or object if the value is an identifier that refers to an object definition.

Default value


Supported doctypes

HTML 4.01 strict, HTML 4.01 transitional, HTML 4.01 frameset.

Usage of HTML value attribute

<param name="shape" value="w3r.txt" valuetype="ref"/>

Previous: HTML value attribute
Next: HTML width attribute

Test your Programming skills with w3resource's quiz.

Follow us on Facebook and Twitter for latest update.