XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / param
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
param
HTML 4.01 | HTML 5 |
HTML: <param>; XHTML: <param/> or <param />
Passes a parameter within an applet or object element. Parameters are information needed by the applet or media object at runtime.
Start/end tag
This is an empty element. HTML forbids an end tag. In XHTML, the element must end with a slash before the closing angle bracket. Developers can insert a space before the slash to improve backward compatibility with older browsers.
Attributes
id="Text"Defines a unique name, similar to the
nameattribute, by which a link, script or stylesheet can reference the element.name="Text"Required. Defines a name for the parameter.
type="Inhaltstyp"Not available in HTML 5. Specifies the resource’s media type when the attribute
valuetypehas the valueref. It describes the types of values available at the specified location.value="Text"Defines the parameter’s value.
valuetype="data|ref|object"Not available in HTML 5. Specifies the kind of value:
dataindicates that the parameter value is data; this is the default;refindicates that the value is a URL;objectindicates that the value is the URL of another object in the document.
Example (HTML)
<param name="autoStart" value="false"> Example (XHTML)
<param name="autoStart" value="false" /> For another example, see the object element.
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de