So basically, what I want to do is use JavaScript so when a user hovers over an image inside a div element, the image is replaced by a p element, part of which is also inside an a element. I have tried looking through the tutorials on w3schools.com and tried the "Try it yourself" examples, yet I can't make this work. I have tried using the innerHTML thing, but I can't get it to work properly with HTML tags inside it. Does anybody know how to do this? Can provide more details or explanation if needed.