Which missing line of code would place the text on top of the image?js The z-index property is cool!cssimg { position: absolute; left: 0px; top: 0px; // Missing line}

🎲 Try a Random Question  |  Total Questions in Quiz: 114  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
CSS Quiz — practice the complete quiz, review flashcards, or try a random question.

CSS MCQs For LinkedIn Skill Assessments.


Which missing line of code would place the text on top of the image?<br>js<br><div class='container'><br> <img src='grumpy-cat.gif' /><br> <p>The z-index property is cool!</p><br></div><br><br>css<br>img {<br> position: absolute;<br> left: 0px;<br> top: 0px;<br> // Missing line<br>}<br>