form handling contact form
Lab # 1
Introduction to html & CSS
 
4. Create a contact form using form handling.

Lab1-4-contact-form.html
<!DOCTYPE html>
<html lang="en">
<head>
    <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>
</head>
<body>
    <h2>Contact Us</h2>
    <table>
        <tr>
            <td>Your Name*</td>
            <td><input type="text" placeholder="enter name here" required></td>
        </tr>
        <tr>
            <td>Your Email</td>
            <td><input type="email" placeholder="enter email here" required></td>
        </tr>
        <tr>
            <td>Your Message</td>
        </tr>
        <tr>
            <td colspan="2"><textarea cols="50" rows="15"></textarea></td>
        </tr>
        <tr>
            <td><input type="Submit" value="Send"></td>
        </tr>
    </table>
</body>
</html>

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

Happy Coding :)