The method attribute specifies the HTTP method used to submit the form. Retrieve the method attribute and examine its value.