Run
Online Code Editor
Demo of action attribute of form element
User Name:
User Password
It will redirect to a new page "action.html" when you click on submit button