2.3.1.1 action

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

actionof type DOMString

Sets or retrieves the URL to which the form content is sent for processing.

The attribute's value is a string that specifies or receives the URL to use. If a relative path is specified, the base URL of the document is assumed.

For Windows Internet Explorer 8 or later, when the browser is in Internet Explorer 8 mode, the value of the action attribute depends on the context of the reference to the attribute. When read as a Document Object Model (DOM) attribute, action returns an absolute URL. The value specified by the page author is returned when action is read as a content attribute, when the page is displayed in an earlier document compatibility mode, or when the page is viewed with an earlier version of the browser.

The action attribute extends the HTMLIsIndexElement interface.