Categories

Featured templates

How to create a contact form in HTML

Gordon J. Blair November 15, 2011
Rating: 3.9/5. From 35 votes.
Please wait...

This tutorial will teach you how to create a very simple contact form for HTML based website template.

First of all create 2 files: contact_form.html and contact.php. The first file will contain HTML code for the form and the second -will process the data from the form


HTML

Below is the HTML code of the contact form

Your name

Your e-mail

Message