Hi,
Does anyone have any idea why the W3 validation service returns the error shown below on this comment line?
/* Set the values in the <img> tag so the user can see a mini-sample of what was selected */
Error:
=====
Line 219, Column 40: required attribute "src" not specified
/* Set the values in the <img> tag so the user can see a mini-sample
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
=====
I've tried /* */ to enclose the comment and also //
Thanks for your help.
andynic
Does anyone have any idea why the W3 validation service returns the error shown below on this comment line?
/* Set the values in the <img> tag so the user can see a mini-sample of what was selected */
Error:
=====
Line 219, Column 40: required attribute "src" not specified
/* Set the values in the <img> tag so the user can see a mini-sample
✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
=====
I've tried /* */ to enclose the comment and also //
Thanks for your help.
andynic