The Number of images in the form


<html>
<body>

<img  src="one.jpg" width="100" height="100" />
<img  src="two.jpg" width="100" height="100" />
<img  src="three.jpg" width="100" height="100" />
<img  src="four.jpg" width="100" height="100" />

<p>Number of images in this form are:
<script type="text/javascript">
document.write(document.images.length);
</script></p>

</body>
</html>



Output:

Number of images in this form are: 4
Ebook Download
View all
Learn
View all