HTML Tag: <param>
Parameter of an <object>.
<param>Required Attributesname=""is used so that the element can be referenced and processed by the<object>.<param>Optional Attributesvalue=""can be used to specify the value of the parameter.id=""can be used to uniquely identify the element.type=""can be used to specify the content type.valuetype=""can be used to specify the content type of the value attribute. Values can bevaluetype="data",valuetype="ref"orvaluetype="object".- Bibliography
- HTML Tag:
<param> >param<- HTML
<>Tag
>param<
<param name="string" type="MIME type" value="value" valuetype=" { data | object | ref } ">
The <param> element is used in conjunction with the <applet> and <object> elements to provide parameters or variables to the parent element.
A typical use for the <param> element is demonstrated in the example above, where it’s used to pass to the <object> information regarding an embedded movie clip’s quality and filename. When it’s used with an <applet>, the <param> might be used to pass variables to a function that the <applet> uses, for example, instructing the <applet> to draw five polygons on the page, and to make them purple:
<applet code="draw.class">
<param name="shape" value="triangle"/>
<param name="amount" value="5"/>
<param name="color" value="purple"/>
</applet>