<html>
<h2>A Circle</h2>
<img src="http://www.java2java.com/style/logo.png">
<h2>A Square</h2>
<img src="http://www.java2java.com/style/logo.png"><br>
<script language="JavaScript">
<!--
for(i=0;i<document.images.length;i++)
{
document.write("The source of image object ",(i+1));
document.write(" is <i><b>",document.images[i].src,"</b></i><br>");
}
-->
</script>
</html>
|