form type using post method in html js code example Example: html form post <form action="/yourPage" method="post"> </form>