Edit This Code:
<!DOCTYPE html>
<html>
<head>
<style>
.container {
    position: relative;
}


.bottomleft {
    position: absolute;
    bottom: 8px;
    left: 16px;
    font-size: 18px;
}


img {
    width: 100%;
    height: auto;
    opacity: 0.3;
}

</style>
</head>
<body>

<h2>Image Text</h2>
<p>Add some text to an image in the bottom left corner:</p>

<div class="container">
  <img src="trolltunga.jpg" alt="Norway" width="1000" height="300">
  <div class="bottomleft">Bottom Left</div>
</div>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy