This group of attributes contains only those used for processing media objects in HTML.
Related elements:
classid attribute:
data attribute:
archive attribute:
codebase attribute:
codetype attribute:
declare attribute:
standby attribute:
valuetype attribute:
Attribute characteristics and purpose:
classid attribute:
- specifies the location of an object via URI
- may be used together with the attribute data or alone, depending on the type of object involved
- often used for ActiveX and other proprietary file types and locations
data attribute:
- specifies the location of the object's data
- used to defined objects like images or a serialized form of an object that can be used to re-create it
archive attribute:
- specifies a space separated list of URIs for archives with resources relevant to the object
- often includes resource(s) specified by the lassid and data attributes
- preloaded archives will reduce load times for objects
codebase attribute:
- specifies the base path of the relative URIs served by the classid, data and archive attributes
codetype attribute:
- specifies the content type of data expected from the object served by classid attribute
- attribute is optional but recommended when classid attribute is being used in order to avoid loading unsupported type
- when missing the default content type is to be defined by the type attribute
declare attribute:
- if present it makes the current object being declared only (not rendered) and the object in ordered to be rendered must be instantiated by another object element
- its value is a Boolean data type
standby attribute:
- specifies a message, if supported, that a browser will show during loading of the object and data
valuetype attribute:
- defines the type of the value attribute
- possible values: data (the value will be evaluated and passed to the object as a string, default), ref (a URI that shows a resource when run-time values are stored, will be passed to the object as is (unresolved)), object (refers to the object declaration in the same document, it must match the id attribute of the declared object)
Example
HTML media attributes:
Comments
No comments have been made yet.
Please login to leave a comment. Login now