form method html code example
Example 1: html form post
<form action="/yourPage" method="post">
</form>
Example 2: form get
// action can redirect
<form action="" method="get">
</form>
<form action="/yourPage" method="post">
</form>
// action can redirect
<form action="" method="get">
</form>