Image.hspace : img : HTML Tags JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » HTML Tags » img »

 

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.navioo.com/style/logo.png" HSPACE=100>
    Text to right of image.<br>
    <script language="JavaScript">
    <!--
    document.write(document.circle.hspace);
    -->
    </script>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo HTML Tags
» img