HTML CSS Reference/HTML Attributes Reference/vspace

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

"vspace" Example

   <source lang="html4strict">
   

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


     </source>
   
  


vspace is applied to

   <source lang="html4strict">

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

     </source>
   
  


"vspace" Syntax and Note

   <source lang="html4strict">

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>


     </source>