Friday, August 19, 2016

Create The File With The Html Code Of The Contact Form

Creating fully functional HTML contact form code with PHP script processing

Firstly we will create the HTML form which will display basic form fields. It will ask users to submit their Name, Email Address and a Message.

To do this follow the instructions below

1. Login into blogger https://www.blogger.com  and Go to Pages

 2. Click "New Page" to create new page.


 3. Give the name of the Form such as "Contact Form"


4. Then Click "HTML" tab and paste Code below as shown in the figure.


<form id="contact_form" action="#" method="POST" enctype="multipart/form-data"> <div class="row"> <label for="name">Your name:</label><br /> <input id="name" class="input" name="name" type="text" value="" size="30" /><br /> </div> <div class="row"> <label for="email">Your email:</label><br /> <input id="email" class="input" name="email" type="text" value="" size="30" /><br /> </div> <div class="row"> <label for="message">Your message:</label><br /> <textarea id="message" class="input" name="message" rows="7" cols="30"></textarea><br /> </div> <input id="submit_button" type="submit" value="Send email" /> </form>

5. Click PUBLISH. Now your done.

0 comments:

Post a Comment