Html

 <!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Contact Form</title>

    <link rel="stylesheet" href="styles.css">

</head>

<body>


    <div class="contact-form-container">

        <h2>Contact Us</h2>

        <form action="connect.php" method="POST">

            <label for="name">Name:</label>

            <input type="text" id="name" name="name" required>


            <label for="email">Email:</label>

            <input type="email" id="email" name="email" required>


            <label for="phone">Phone Number:</label>

            <input type="tel" id="phone" name="phone" required>


            <label for="service">Service:</label>

            <select id="service" name="service">

                <option value="ac">AC</option>

                <option value="electric">Electric</option>

                <option value="other">Other</option>

            </select>


            <label for="message">Message:</label>

            <textarea id="message" name="message" rows="4" required></textarea>


            <button type="submit">Submit</button>

        </form>

    </div>


</body>

</html>


Comments

Popular posts from this blog

Detail