<html>
<body>
<img src="image1.jpg" width="100" height="100">
<img src="image2.jpg" width="100" height="100">
<img src="image3.jpg" width="100" height="100">
<img src="image1.jpg" width="100" height="100">
<img src="image2.jpg" width="100" height="100">
<img src="image3.jpg" width="100" height="100">
<button onclick="alert(document.images.length);">
Number of images in the document
</button>
</body>
</html>
|