HTML CSS Reference/HTML Attributes Reference/codebase

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

"codebase" Example

    
<HTML>
<head><Title>Example For codebase</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" 
        codetype="application/x-shockwave-flash">
        <param name="movie" 
               value="yourflashmovie.swf">
        <param name="quality" value="high">
        <embed src="yourflashmovie.swf" 
               quality="high" 
               pluginspage="http://www.macromedia.ru/shockwave/"
               type="application/x-shockwave-flash" 
               width="250" 
               height="230">
        </embed>
</object>
</BODY>
</HTML>



codebase is applied to

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



"codebase" Syntax and Note

Note:
    
This attribute specifies the URL of an applet or an object. 
If this attribute is not specified, then the base URL is the same with 
the current document.
    
Syntax:
    
<element codebase="value"> . . . </element>