HTML CSS Reference/HTML Attributes Reference/units

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

"units" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For</Title></head> <BODY> <embed id="myE"

      src="yourflashmovie.swf" 
      quality="high"
      pluginspage="http://www.macromedia.ru/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
      type="application/x-shockwave-flash" 
      width="243" 
      height="194" 
      units="px">

</embed> </BODY> </HTML>


     </source>
   
  


units is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<embed> | +----------------+--------------------------------------------------------------+

     </source>
   
  


units Possible Values

   <source lang="html4strict">

Possible Values Possible values are em height and width are relative to the height and width of the element"s font px the default, which stands for pixels.


     </source>
   
  


"units" Syntax and Note

   <source lang="html4strict">

Note:

This attribute defines the units by which the height and width attributes are measured.

Syntax:

<embed units="value"></embed>


     </source>