element: --- ## Definition and Usage The `form` attribute returns a"> element: --- ## Definition and Usage The `form` attribute returns a" />
Easy Tutorial
❮ Event Frameset Onload Jsref Fromcharcode ❯

Input URL form Attribute

Input URL Object

Example

Returns the form ID of the <input type="url"> element:


Definition and Usage

The form attribute returns a reference to the form that contains the URL 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 or Safari do not support the HTML <input> element with the type="url" attribute.


Syntax

Technical Details

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

❮ Event Frameset Onload Jsref Fromcharcode ❯