https://sebastiandedeyne.com/html-button-form-attribute/ https://sebastiandedeyne.com/tags/html/Thanks to my colleague https://www.sams.land I recently learned about the form attribute on the element. By setting a form attribute, the button becomes a submit button for a form on the page with that ID, without having to nest the button on the page. This could be useful for a logout link, used on different places. Log out