HTML CSS Reference/HTML Attributes Reference/classid

Материал из Web эксперт
Перейти к: навигация, поиск

"classid" Example

    
<HTML>
<head>
<Title>Example For classid</Title>
</head>
<BODY>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.ru/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
        width="250" 
        height="230">
        <param name=movie value="yourflashmoviefile.swf">
        <param name=quality value=high>
</object>
</BODY>
</HTML>



classid is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<object>                                                      |
+----------------+--------------------------------------------------------------+



"classid" Syntax and Note

Note:
    
This attribute determines the class identifier for an <object> element. 
It can be a URL string or a globally unique identifier (GUID) value. 
A GUID is a 32- bit value that is associated with an object prototype or class.
When using a GUID value, the string clsid: must precede the GUID.
The format of this value for Microsoft ActiveX controls is
: "clsid:XXX-XXXX-XXXX-XXXX-XX". 
The syntax for a Flash 5 movie is: 
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000".
    
Syntax:
    
<object classid="value"> . . . </object>