I am trying to validate the following code in w3c

I am trying to validate the following code in w3c compliance
Print "<td id='table_thumbnail'> <img alt='$mark_name' src='/admin/download/$thumbnail'></td>";

Getting this error
line 83 column 198 - Error: end tag for "img" omitted, but OMITTAG NO was specified

Any idea how I can fix this.
thanks.
awarraicAsked:
Who is Participating?
 
WarpsehConnect With a Mentor Commented:
try closing the img tag with this /> so it would be <img alt='$mark_name' src='/admin/download/$thumbnail' />
0
 
awarraicAuthor Commented:
Thanks much
0
 
WarpsehCommented:
No problem, by the way, i forgot to tell you, the same thing goes for every tag that doesn't have a closing tag, for example, for <br />.
0
All Courses

From novice to tech pro — start learning today.