param Element


 

Module

The param element is declared by the XHTML 1.1 Object Module (Param)

Elements in the Object Module are:
object
param (Param Support Module)

Description

A param element is used to specify a run-time initialisation parameter for an object.

Although not explicitly required by the XHTML 1.1 DTD, a comment within the DTD states that param elements should be placed prior to other content in the object element (ref: *Embedded Object Module DTD at the W3C).

I don't use object much so I'll just refer you to the W3C's Specification for *HTML 4.01 - Object initialization: the PARAM element (which has the same function as this corresponding XHTML element).

#REQUIRED Attributes

The name attribute is #REQUIRED on the param element.


Specific Attributes

Specific attributes of the param element are listed below:

From the Object Module (Param) - the Element's own Module

name [ type CDATA - #REQUIRED ]
The name of the parameter (property)
type [ type ContentType ]
When the valuetype is "ref", the type attribute specifies the MIME type of the resource at the value URI.
value [ type CDATA ]
The value of the parameter (property)
valuetype [ type Enumeration (data | ref | object) - default="data" ]
The type of the value attribute
data
value is a string
ref
value is the URI of a run-time resource
object
value refers to the id attribute of another object in the same document (in the form of an internal link with fragment identifier, e.g. value="#objectid")

Common Attributes

Common attributes of the param element are listed below:

From the Core Attribute Collection

id [ type ID ]
A unique identifier for the element
xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]
XML namespace

Content Model

The Content Model for the param element is:

EMPTY

See Content Model & Nesting for information about Content Model syntax and Nesting Groups.

Valid children of param

This element is empty and may have no children.

Valid parents of param


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 01 Oct 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Element Index (XHTML 1.1) > param Element