Image.border : img : HTML Tags JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » HTML Tags » img »

 

Image.border








The border property specifies the width of the border around an image in pixels.

This property can only be set by the BORDER attribute of the tag.












<html>
    <head>
    <title>Example of border Property</title>
    </head>
    <img name="circle"
         src="http://www.navioo.com/style/logo.png"
         border=10>
    <br>
    <script language="JavaScript">
    <!--
    document.write("The image has a border with of ");
    document.write(document.circle.border," pixels.");
    -->
    </script>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo HTML Tags
» img