how to create a contact form in Html for my website?

This is Technical question but for it you need knowledge of any server side scripting

Me showing you in php code

form.html as under

<html>
<body>

<form method="post" action="processing.php">
name : <input type="text" name="name">
email: <input type="text" name="email">
message :- <textarea name="message"></textarea>
<input type="submit" value="Submit">
</body>
</html>
-----------------------------------------

Processing.php as under

<?php
$to = "[email protected]";
$name = $_POST['name'] ;
$email =$_POST['email'] ;
$message = $_POST['message'] ;
mail($to, $name, $ email, $message);
echo "Mail sent";
?>

Now upload the pages on your domain and cheek it will work.
 
Back
Top