Sometimes you want to use JavaScript to submit the form and its possible with Web3Forms. If you use JavaScript, you can keep users on the same page instead of redirecting to other page. Also you will be able to code custom form validation or integration with other tools / services.
The initial steps are same as Pure HTML. Be sure to check to know how to create Access Key. Then use the following sample code to get started. Modify it according to your needs.