value attribute of input tag

 





The value attribute gives us pre populated value in the input area, but the user can change it anytime as per their wish. In the code above we have given the value="Bibek", therefore in the output in the input area the same value is present.






Comments