w3resource

HTML valuetype attribute

valuetype

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.

Syntax

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

Type of value

Data.

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

Data.

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