Is there a way to put a placeholder for input field which are file type?
file
I already tried jquery watermark plugin and it doesn't work.
Placeholder attribute should not be used for <input type="file">. Placeholders are used to give a hint about the input. And as file input is itself a browse button, it is clearly seen that it is for choosing a file. And if there's no file chosen it shows "no file chosen" next to the button.
<input type="file">
Because:
2.1m questions
2.1m answers
60 comments
57.0k users