HTML CSS Reference/HTML Attributes Reference/units — различия между версиями

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

Текущая версия на 08:20, 26 мая 2010

"units" Example

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



units is applied to

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



units Possible Values

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.



"units" Syntax and Note

Note:
    
This attribute defines the units by which 
the height and width attributes are measured. 
    
Syntax:
    
<embed units="value"></embed>