<html>
<body>
<h1>The Document Object</h1>
<h2>The images Property</h2>
<img src="klematis.jpg" alt="flower" width="150" height="120">
<img src="klematis2.jpg" alt="flower" width="150" height="120">
<p>The URL of the first image is:</p>
<p id="demo"></p>
<script>
let src = document.images[0].src;
document.getElementById("demo").innerHTML = src;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_doc_images3 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:39:39 GMT -->
</html>