Name
param — <param />
Supplies a parameter within an applet
or object
element. A parameter is
information required by the applet or media object at
runtime.
Attributes
id="
text
"
Provides a name (similar to the
name
attribute) so that it can be referenced from a link, script, or stylesheet. It is more versatile thanname
, but it is not as universally supported.name="
text
"
Required. Defines the name of the parameter.
type="
content type
"
Specifies the media type of the resource only when the
valuetype
attribute is set toref
. It describes the types of values found at the referred location.value="
text
"
Defines the value of the parameter.
valuetype="data|ref|object"
Indicates the type of value:
data
indicates that the parameter’s value is data (default);ref
indicates that the parameter’s value is a URL;object
indicates that the value is the URL of another object in the document.
Example
See object
listing.
Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.