| Depr. | Version |
|---|---|
| No | HTML 4 |
| IE5.5+ | FF1+ | SA1.3+ | OP9.2+ | CH2+ |
|---|---|---|---|---|
| Full | Full | Full | Full | Full |
Syntax
Description
The
classid attribute provides a reference that the
browser can use to understand how the object should be implemented. It’s
usually used to ensure that the browser has the correct version of the
control.
Example
This example shows the definition of
a classid attribute for a Flash
movie:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
➥swflash.cab#version=9,0,28,0" width="320" height="285" title="Flash
tester">
<param name="movie" value="flash-test.swf"/>
<param name="quality" value="high"/>
⋮
</object>
Value
This attribute takes as its value the URI of a document on the Web, or an internal reference in the form of"classid:object-id", as shown in the example above
("classid:D27CDB6E-AE6D-11cf-96B8-444553540000").Compatibility
| Internet Explorer | Firefox | Safari | Opera | Chrome | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 8.0 | 1.0 | 1.5 | 2.0 | 3.0 | 3.5 | 1.3 | 2.0 | 3.1 | 4.0 | 9.2 | 9.5 | 10.0 | 2.0 |
| Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full | Full |
The compatibility of this attribute depends upon the type of object with which it is used.
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.