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