HTML CSS Reference/HTML Attributes Reference/hspace

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

"hspace" Example

    
<HTML>
<head><Title>Example For</Title></head>
<BODY>
<table>
   <tr>
     <td>
     <img src="http://www.wbex.ru/style/logo.png" 
          width="300"
          height="225" 
          hspace="100">
     </td>
   </tr>
</table>
</BODY>
</HTML>



hspace is applied to

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



"hspace" Syntax and Note

Note:
    
This attribute sets the space in pixels between the left and right 
sides of an element.
    
Syntax:
    
<element hspace="value"> . . . </element>