Mega Code Archive

 
Categories / JavaScript Tutorial / HTML Tags
 

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