The command button will perform some action when the user clicks on it. The action is defined by action attribute in <form> tag along with the method attribute as shown in the following code
When the user click on the command button called “Email Yourself ”, the action specified in tag is performed. It opens your email inbox in email.com.