HTML CSS Reference/HTML Attributes Reference/declare

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

"declare" Example

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



declare is applied to

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



"declare" Syntax and Note

Note:
    
This attribute determines whether an object definition is 
a simple declaration or something more. 
Declare is a Boolean attribute
Possible values are yes or true and no or false.
Yes or true indicates that the object is only a declaration.
No or false means that the object is more than a declaration
    
Syntax:
    
<object declare="value"> . . . </object>