How to create a contact me form
Every webmaster wants their visitors to get in touch with them for any reason. Visitors trying to reach out are proofs that their website is indeed effective. If you want to setup a simple Contact Me form in your website or blog so that your visitors can send you a question, comment about anything, or simply send in their thanks, here’s one script that can help you:
<center>
<form method=post action=”mailto:someone@$nailmail.com” enctype=”text/plain”>
<input type=”text” name=”username”> : name <br>
<input type=”text” name=”email”> : email <br>
comments <br>
<textarea name=”comments” rows=”10″ wrap=”hard”>
</textarea>
<input name=”redirect” type=”hidden” value=”index.html”>
<input name=”next_url” type=”hidden” value=”index.html”>
<br>
<input type=”submit” value=”send”>
<input type=”reset” value=”clear”>
</form>
</center>
Copy and paste this code exactly where you’d like the form to appear. Of course, it has to be between the <body> </body> tags. If you want to put anything else on the same page, make sure to plan the layout well.
Also, change where it says someone @ $nailmail.com into your own email address. And make sure that the email address you’ll place in there is working and functional.
There are three boxes or fields in this email form – Name, Email, and Comments. If you want to change those, you can simply do so. The values are found right before the <br> tags.
You can also change the redirect value of this code. In this case, it says index.html. This means that when the visitor is finished typing his comments and he has clicked on the Send button, the page would redirect to your home page which is the index.html file. If you want to change it into something else like a thank you page, you have to change that value.