How To validate for w3c

hello

i need help to validate for w3c this code.
please help me.

<img class=“thumb” src=“http://open.thumbshots.org/image.pxf?url={$link.URL|escape|trim}”>

then how i input “ALT tag” in that code??
thanks

You don’t validate php code, nor templates. You validate the resulting html code (the code you see in your browser).

As for ‘how do i input “ALT tag” in that code’… you put an alt attribute in it.
W3Schools’ Image Tag Page

so can you gimme advice like example??
i really new on w3c it self…

thanks for your respond

Click the link above. There’s an example of an image tag with an alt attribute right there. S’got a pretty green box around it.