I am learning HTML from w3schools HTML Tutorial - The Best in Class Tutorial
I come across one HTML form example which sends an email.
Please note that currently neither do I nor w3schools is going for server side input processing, so you also don't think about server side processing while considering my question.
Below is the code of HTML example :
<h2>Send e-mail to firstname.lastname@example.org:</h2>
<form action="mailto:email@example.com" method="post" enctype="text/plain">
<input type="text" name="name"><br>
<input type="text" name="mail"><br>
<input type="text" name="comment" size="50"><br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
You are basically giving the users browser the job of handling the
mailto request. The browser usually starts the users
mail client and fills in the fields according to the input of your form.