In this post i have explained how to create html5 contact us form. This is very easy, simple and responsive contact form your websites.
Create the contact-us.html file with the below HTML code of the contact form and paste in your file.
1 2 3 4 5 6 7 8 9 | <form action="" method="POST" enctype="multipart/form-data"> <input type="hidden" name="action" value="submit"/> Your name:<br /> <input name="name" type="text" value="" size="30"/> <br /> Your email:<br /> <input name="email" type="text" value="" size="30"/> <br /> Your message:<br /> <textarea name="message" rows="7" cols="30"> </textarea> <br /> <input type="submit" value=" Send email "/> </form> |
After adding the below code the contact form look like
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: contact us form, CSS, HTML 5, html code for contact form, html5 form for contact form