What is the purpose of action and method in a form? Or What is a form? Explain.
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