DWPD-1.4: Create a contact form using form handling.

form handling contact form
Lab # 1
Introduction to html & CSS

4. Create a contact form using form handling.


<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Contact Form</title>
<h2>Contact Us</h2>
<td>Your Name*</td>
<td><input type="text" placeholder="enter name here" required></td>
<td>Your Email</td>
<td><input type="email" placeholder="enter email here" required></td>
<td>Your Message</td>
<td colspan="2"><textarea cols="50" rows="15"></textarea></td>
<td><input type="Submit" value="Send"></td>


contact form in html output
Contact form with html by practical server

Happy Coding 🙂

Leave a comment