Mega Code Archive

 
Categories / JavaScript Tutorial / HTML Tags
 

Image hspace

The hspace property specifies the number of extra pixels that should appear on the left and right of the image. This property can only be set by the HSPACE attribute of the tag. <html>     <head>     <title>Example of hspace property</title>     </head>     Text to left of image.     <img name="circle" src="http://www.rntsoft.com/style/logo.png" HSPACE=100>     Text to right of image.<br>     <script language="JavaScript">     <!--     document.write(document.circle.hspace);     -->     </script>     </html>