Computer Applications

Explain the various attributes of <INPUT> tag.

HTML Advanced Features

1 Like

Answer

The various attributes of <INPUT> tag are:

  1. Type — The 'type' attribute determines the type of form control that will be added to the form area.
  2. Name — The name attribute specifies the name of the <INPUT> tag.
  3. Value — The Value attribute specifies the initial value for the field.
  4. Size — The size attribute specifies the width of the input field .
  5. Maxlength — The Maxlength attribute specifies the maximum number of characters for the input field.

Answered By

1 Like


Related Questions