HTML CSS Reference/HTML Attributes Reference/vspace

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

"vspace" Example

    
<HTML>
<head><Title>Example For vspace</Title></head>
<BODY>
<img vspace="50" 
     src="http://www.wbex.ru/style/logo.png" 
     alt="http://www.wbex.ru" 
     width="99" 
     height="75">
</BODY>
</HTML>



vspace is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<applet>                        <iframe>                      |
|                |<img>                           <input>                       |
|                |<input type="image">            <marquee>                     |
|                |<object>                                                      |
+----------------+--------------------------------------------------------------+



"vspace" Syntax and Note

Note:
    
This attribute sets the size in pixels of the vertical margins. 
hspace and vspace combined specify the empty space around an element.
    
Syntax:
    
<element vspace="value"> . . . </element>