Form Attribute

<input form ='form id'>


Form attribute indicates the forms, related to the <input>.

Example Code:

Result :

Enter your name:
Contact Num:
  • "Space separated list" of form ids can be used to refer multiple number of forms.
  • It is possible to place the input field on out of a HTML form.


It is applicable in all the browsers but except the "Internet Explorer".

Ask Questions

Ask Question