|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | | - <meta charset="UTF-8"> |
5 | | - <title>Contact Us Form</title> |
6 | | - <link rel="stylesheet" href="styleQ3.css"> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <title>Contact Us</title> |
| 6 | + <link rel="stylesheet" href="styleQ3.css"> |
7 | 7 | </head> |
8 | 8 | <body> |
9 | 9 |
|
10 | | - <h1>Contact Us Form</h1> |
| 10 | + <h1>Contact Us Form</h1> |
11 | 11 |
|
12 | | - <div class="container"> |
13 | | - <form> |
14 | | - <label for="fname">First Name</label> |
15 | | - <input type="text" id="fname" name="firstname" placeholder="Your name.." required> |
| 12 | + <div class="container"> |
| 13 | + <form> |
| 14 | + <label for="fname">First Name</label> |
| 15 | + <input type="text" id="fname" name="firstname" required> |
16 | 16 |
|
17 | | - <label for="lname">Last Name</label> |
18 | | - <input type="text" id="lname" name="lastname" placeholder="Your last name.." required> |
| 17 | + <label for="lname">Last Name</label> |
| 18 | + <input type="text" id="lname" name="lastname" required> |
19 | 19 |
|
20 | | - <label for="email">Email</label> |
21 | | - <input type="email" id="email" name="email" placeholder="Your email.." required> |
| 20 | + <label for="email">Email</label> |
| 21 | + <input type="email" id="email" name="email" required> |
22 | 22 |
|
23 | | - <label for="country">Country</label> |
24 | | - <select id="country" name="country" required> |
25 | | - <option value="india">India</option> |
26 | | - <option value="australia">Australia</option> |
27 | | - <option value="canada">Canada</option> |
28 | | - <option value="usa">USA</option> |
29 | | - <option value="uk">UK</option> |
30 | | - </select> |
| 23 | + <label for="country">Country</label> |
| 24 | + <select id="country" name="country" required> |
| 25 | + <option value="">Select</option> |
| 26 | + <option>India</option> |
| 27 | + <option>Australia</option> |
| 28 | + <option>Canada</option> |
| 29 | + <option>USA</option> |
| 30 | + <option>UK</option> |
| 31 | + </select> |
31 | 32 |
|
32 | | - <label for="subject">Subject</label> |
33 | | - <textarea id="subject" name="subject" placeholder="Write something.." required></textarea> |
| 33 | + <label for="subject">Subject</label> |
| 34 | + <textarea id="subject" name="subject" required></textarea> |
34 | 35 |
|
35 | | - <input type="submit" value="Submit"> |
36 | | - </form> |
37 | | - </div> |
| 36 | + <input type="submit" value="Submit"> |
| 37 | + </form> |
| 38 | + </div> |
38 | 39 |
|
39 | 40 | </body> |
40 | 41 | </html> |
0 commit comments