टेक्स्ट को नीचे बाईं ओर रखने के लिए, नीचे . का उपयोग करें और दाएं संपत्ति। छवि पर टेक्स्ट को नीचे दाईं ओर रखने के लिए आप निम्न कोड चलाने का प्रयास कर सकते हैं:
उदाहरण
<!DOCTYPE html>
<html>
<head>
<style>
.box {
position: relative;
}
img {
width: 100%;
height: auto;
opacity: 0.6;
}
.direction {
position: absolute;
bottom: 10px;
right: 19px;
font-size: 13px;
}
</style>
</head>
<body>
<h1>Heading One</h1>
<p>Below image has text in the bottom right:</p>
<div class = "box">
<img src = "https://www.tutorialspoint.com/python/images/python_data_science.jpg" alt = "Tutorial" width = "800" height = "400">
<div class = "direction">Bottom Right Corner</div>
</div>
</body>
</html>