Please help I'm stuck on this line of code for a picture

Please see the code below. Can someone please write in the correct code for me. I’m so confused as to where href is supposed to go. Thanks!

href=img width = 350 src=https://codeacademy-content.s3.amazonaws.com;practice/code-challenges/sherman.jpegalt+”Cindy Sherman, Untitled Film Still 21”/href= href= img scr= https://en.wikipedia.org/wiki/Cindy_Sherman

Sincerely,

Melissa

Hello @tera8343679189, welcome to the forums! As far as I’m aware, you don’t use href attributes with an img tag. If you wanted the image to be a link to something else, you could nest the <img> inside an anchor <a> tag:

<a href="somesource.com"><img src="someothersource.com"></a>

I hope this helps!

Thank you so much for helping!

1 Like