Note: This documentation is preliminary and is subject to change.
Sets or retrieves the content type of the resource designated by the value attribute.
Syntax
HTML | <PARAM TYPE
= p... >
|
---|
Scripting | [ p = ] PARAM.type [ = v ] |
---|
Possible Values
p | String that
specifies or receives the content type of the resource designated by the value attribute, only in the case where valueType is set to ref . This attribute thus specifies for the user agent the type of values that will be found at the Uniform Resource Identifier (URI) designated by value. |
The property is read/write.
The property has no default value.
Remarks
type was introduced in Microsoft Internet Explorer 6
The content type specifies the nature of a linked resource. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "audio/basic", "text/tcl", "text/javascript", and "text/vbscript". For the current list of registered content types, see MIME Media Types .
Example
The following example shows how to use the param element to specify a run-time parameter for the object specified by the object element. A URI is specified for the Microsoft Windows Media Player control.
<OBJECT CLASSID="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<PARAM NAME="FileName"
VALUE="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/28movie.asf"
VALUETYPE="ref" TYPE="video/*"/>
</OBJECT>
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
See Also
Binding HTML Elements to Data, Introduction to Data Binding