data Attribute


 

Where to use the data Attribute

  • As Type URI:
    data is declared on the element: object

Description

The data attribute may be specified on an object element and should contain a URI specifying the location of the object's data. If this attribute is specified then so should the object's type attribute. This is so that user agents can avoid loading unsupported content types.

The data attribute may be used as an alternative to, or in conjunction with, the object's classid attribute, depending on the object's type.

Relative URIs are resolved with respect to the codebase attribute of the object, if it has one, and otherwise with respect to the base URI of the current document (see the base element).


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 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 > Attribute Index (XHTML 1.1) > data Attribute (XHTML 1.1)