<p>Click here to view more <a href="#">cat photos</a>.</p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36.
i added the closing tag to the a element but its still showing the message: Your a element should be a dead link with a href attribute set to # . isn’t it already set to # . what i am doing wrong here ?
If you look above at your code in the editor., you may notice <img is not red whereas all your other tags are. That is the hint as to where your mistake is. Upon looking at the line before it,. you can easily see the a tag is not closed.
To place an element inside an a tag, it goes like this: <a>NEW_ELEMENT_GOES_HERE</a>
You are attempting to do <a NEW_ELEMENT_GOES_HERE</a>