What is the purpose of the action attribute in a form?
action
To validate form input
To define the method of form submission
To specify the URL to which the form data should be sent
To activate a JavaScript function when the form is submitted