tryit_yourcode See Results <!DOCTYPE html> <html> <head> <style> img { position: absolute; top: 5px; z-index: -1; } </style> </head> <body> <h1>CSS z-index Property</h1> <img src="https://www.w3codingschools.com/wp-content/uploads/2020/01/sample-image.gif" width="180" height="150"> <p>As the image has a z-index of -1, it will be placed behind the heading.</p> </body> </html>