HTML CSS Reference/HTML Attributes Reference/codetype

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

"codetype" Example

   <source lang="html4strict">

<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>

     </source>
   
  


codetype is applied to

   <source lang="html4strict">

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

     </source>
   
  


codetype Possible Values

   <source lang="html4strict">

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


     </source>
   
  


"codetype" Syntax and Note

   <source lang="html4strict">

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>


     </source>