HTML Coding Problem

What special chracter must be escaped? I am using codepen.io and its displaying “Special characters must be escaped : [ < ].”
Code:

 <img src="https://i.pinimg.com/originals/37/f5/01/37f501efe423c2b006bd96efd0ddce45.jpg" alt="girl holding a flower cassatte" width="300"><br>
       <a href="#">
         <img src="https://img.quizur.com/f/img5f24b590496f15.82208645.jpg?lastEdited=1596241301" alt="butterfly and hands"id="artist hands"</a>

Just a guess here but try adding the missing > at the end of the second <img> tag.

1 Like

tried it does not work…

I think you are going to have to give us a link to your codepen so we can actually test for ourselves.

ok
Here is the link: https://codepen.io/nianaz/pen/KKmboKO

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.

May i see an example code of what you mean by

<img src="https://img.quizur.com/f/img5f24b590496f15.82208645.jpg?lastEdited=1596241301" alt="butterfly and hands"id="artist hands"

We don’t see a > at the end.

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 :slight_smile:
EDIT:after reading through your directions over again, it seemed like I was the one who causing confusion to myself. sorry again:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.