The value Attribute

The value attribute specifies the initial value for an input field:


The readonly Attribute

The readonly attribute specifies that the input field is read only (cannot be changed):

The disabled Attribute

The disabled attribute specifies that the input field is disabled.

A disabled input field is unusable and un-clickable, and its value will not be sent when submitting the form:


Leave a Reply

Your email address will not be published. Required fields are marked *