Can a submit button be outside a form?
For a HTML form element you can put your submit button outside of the form element as long as you have reference the form's id property with the button's form property.
Can you use a button to submit a form?
The <button type="submit"> specifies a submit button. Clicking a submit button sends form data to a form-handler on the server. The button can contain text, images, icons, and other elements.