0
Please, what is the difference between value and placeholder attribute, when using input tag in a form tag.
Input attribute(value and placeholder ).
1 ответ
+ 2
The value is what's in the input. That is what you can use in the backend when the form gets submitted. The placeholder is not useful in the backend. It's just a hint to the user as to what kind of information is required to be entered - what kind of information is required as the value.