Mega Code Archive

 
Categories / JavaScript Tutorial / HTML Tags
 

Image name

The name property specifies the name of the image. This property can only be set by the NAME attribute of the tag. <html>     <head>     <title>Example of name property</title>     </head>     <img name="circle" src="http://www.rntsoft.com/style/logo.png">     <br>     <script language="JavaScript">     <!--     document.write(document.circle.name);     -->     </script>     </html>