Mailto Form
Use the following HTML code to create a basic feedback form that sends you an email when submitted. When a visitor submits this form, the mailto:
link will open the visitor's email client pre-populated with the form contents. The visitor can then click "Send" to generate an email to the webmaster.
HTML Code for a Mailto Form
You can copy and paste the code below. To use this code, replace the email address with your own email address (or whatever email address you want the feedback sent to).
Looking for a Better Way?
Although the above method is the easiest way to create a form that sends you email, it is a little "clunky".
Also, using the mailto
link may not work 100% of the time for your visitors. This is because it relies on the visitor to use the browser's default email client. This is not always the case - especially if the visitor is not using their own computer.
A more professional way is to use a server-side script that automatically sends the email. For a more professional feedback form, get this form to email script. In 5 minutes, you'll be able to add a more a professional looking feedback form to your website.
Modify Your Feedback Form
You can change the look of your feedback form by adding styles to it. Check out these comment boxes to change the color of your feedback form, add a background picture, or add a border to your comment box.