HTML Input Attributes
The value Attribute The value attribute specifies the initial value for an input field: Example <form action=””> First name:<br> <input type=”text” name=”firstname” value=”John”> </form> Try it Yourself » The readonly Attribute The readonly attribute specifies that the input field is read only (cannot be changed): Example <form action=””> First name:<br> <input type=”text” name=”firstname” value=”John” readonly> </form> Try it Yourself » The disabled Attribute The disabled attribute specifies that the input […]
