HTML CSS Reference/HTML Attributes Reference/codetype

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

"codetype" Example

<HTML>
<head><Title>Example For codetype</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>



codetype is applied to

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



codetype Possible Values

Possible Values
audio/basic, 
image/gif, 
image/png, 
text/css, 
text/html, 
text/javascript, 
text/vbscript, 
video/mpeg



"codetype" Syntax and Note

Note:
    
This attribute is used in conjunction with the classid attribute.
This attribute specifies the data type expected by the <object> element. 
    
Syntax:
    
<object codetype="value"> . . . </object>