` element: --- ## Definition and Usage The `form` attribute returns a"> ` element: --- ## Definition and Usage The `form` attribute returns a" />
Easy Tutorial
❮ Prop Datetime Value Prop Details Open ❯

Input Number form Attribute

Input Number Object

Example

Returns the form id of the <input type="number"> element:


Definition and Usage

The form attribute returns a reference to the form that contains the number field.

This attribute returns a form object upon success.

Note: This attribute is read-only.


Browser Support

All major browsers support the form attribute.

Note: Internet Explorer 9 and earlier versions do not support the <input> element with the type="number" attribute.


Syntax

Technical Details

| Return Value: | A reference to the form element that contains the number field. Returns null if the number field is not in a form. | | --- | --- |

❮ Prop Datetime Value Prop Details Open ❯