This line of code:
<input name="img" type="file" accept="image/*" capture="camera" onchange="uploadImage(this, 75)" />
fails to pass the W3C HTML5 validator check:
I would appreciate anyone letting me know why the error from W3C (and any solution), given that the code works fine and it opens the camera for mobile devices.