The Number of images in the form

The Number of images in the form

  1. <html>  
  2.   
  3.      <body>  
  4.           <img src="one.jpg" width="100" height="100" />  
  5.           <img src="two.jpg" width="100" height="100" />  
  6.           <img src="three.jpg" width="100" height="100" />  
  7.           <img src="four.jpg" width="100" height="100" />  
  8.           <p>Number of images in this form are:  
  9.                <script type="text/javascript">  
  10.                document.write(document.images.length);  
  11.                </script>  
  12.           </p>  
  13.      </body>  
  14.   
  15. </html> 
Output:
 
Number of images in this form are: 4