Not only do you need to add the missing > at the end of the second <img> but you also need to add a space character before the id attribute. Once I did those two things the error disappeared.
nvm, i got fixed it seems like i was supposed to add > < a >(without spaces). And I also though I added the sign (>). sorry for confusement if i did cause one. Many thanks to you and @bbsmooth
EDIT:after reading through your directions over again, it seemed like I was the one who causing confusion to myself. sorry again: