summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 10 hands-on assignments/Ch10_msglm/10.3.label.html
blob: 5c4e64f4353b431918bb1a8f41ee65a7e9661034 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Contact Form</title>
        <meta charset="utf-8">
    </head>
    <body>
        <h1>Contact Us</h1>
        <form method="get">
            <label>First Name: <input type="text" name="fname" id="fname"
                <input type="text" name="fname" id="fname"><br><br>
            </label>
                <label>Last Name: <input type="text" name="lname" id="lname"
                    <input type="text" name="lname" id="lname"><br><br>
                </label>
                    <label>E-mail: <input type="text" name="email" id="email"
                        <input type="text" name="email" id="email"><br><br>
                    </label>
                        <label for="comments">Comments:</label><br>
                        <textarea name="comments" id="comments" rows="4" cols="40"></textarea><br><br>
                        <input type="submit" value="Contact"> <input type="reset">
        </form>
    </body>
</html>