<html>
<body>
<h1>The Document Object</h1>
<h2>The images Property</h2>
<p>Add a black border to the first image in the document:</p>
<img src="klematis.jpg" alt="flower" width="150" height="120">
<img src="klematis2.jpg" alt="flower" width="150" height="120">
<p id="demo"></p>
<script>
const img = document.images[0];
img.style.border = "10px solid black";
</script>
</body>
</html>