Final answer:
The global HTML5 attribute that can be used with the form element to specify whether form input will be sent to the server using get or post is the method attribute.
Step-by-step explanation:
The global HTML5 attribute that can be used with the <form> element to specify whether form input will be sent to the server using get or post is the method attribute.
The method attribute is used to indicate the HTTP method to be used when submitting the form data. The two most common methods are GET and POST.
If the method attribute is set to GET, the form data is appended to the URL as a query string. This method is typically used when the form data is not sensitive and should be visible in the URL. On the other hand, if the method attribute is set to POST, the form data is sent as part of the HTTP request body, not visible in the URL.