dimanche 19 avril 2015

Create a working submit button for form to send email

How can I write a code to create a working submit button where somebody click the submit button on my page and that data goes to my working email id for example to smrithikollam@gamil.com.


"Not preferring JavaScript.. Prefer to write code in HTML 5 & CSS3 "




Here is the HTML code for my form



<div id="forms">
<form class="form">

<p class="name">
<input type="text" name="name" id="name" placeholder="Enter Your Name" />
</p>

<p class="email">
<input type="text" name="email" id="email" placeholder="mail@example.com" />
</p>

<p class="web">
<input type="text" name="web" id="web" placeholder="9876 543 210" />
</p>

<p class="text">
<textarea name="text" placeholder="Write something to us" /></textarea>
</p>

<p class="submit">
<input type="submit" value="Send" />
</p>
</form>
</div>




and Here is my CSS code for submit button



.submit input {
width: 100px;
height: 40px;
background-color: #474E69;
color: #FFF;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}

Aucun commentaire:

Enregistrer un commentaire