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

Test your Programming skills with w3resource's quiz.



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/html/attributes/html-valuetype-attribute.php