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

Global HTML 5 attributes

  • id="Text"

    Defines a unique name, similar to the name attribute, 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 valuetype has the value ref. 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: data indicates that the parameter value is data; this is the default; ref indicates that the value is a URL; object indicates 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.

 

> back to the alphabetical list of elements

   

 

 

 

 

back to top