तत्वों को ओवरलैप करने के लिए, CSS z-index प्रॉपर्टी का उपयोग करें। आप z-index प्रॉपर्टी को लागू करने और टेक्स्ट के पीछे छवि सेट करने के लिए निम्न कोड चलाने का प्रयास कर सकते हैं
उदाहरण
<!DOCTYPE html>
<html>
<head>
<style>
img {
position: absolute;
left: 0px;
top: 0px;
z-index: -1;
}
</style>
</head>
<body>
<img src = "https://www.tutorialspoint.com/assets/videotutorials/courses/swift_4_online_training/380_course_210_image.jpg" width="300" height="250">
<p>This is demo text.</p>
</body>
</html>