Skip to content

Commit cd1de79

Browse files
Update Question3.html
1 parent 049a99c commit cd1de79

File tree

1 file changed

+39
-36
lines changed

1 file changed

+39
-36
lines changed

templates/Question3.html

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
11
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<title>Contact Us Form</title>
5-
<link href="styleQ3.css" rel="stylesheet"/>
6-
</head>
7-
<body>
8-
9-
<h1>Contact Us Form</h1>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Contact Us Form</title>
7+
<link rel="stylesheet" href="styleQ3.css" />
8+
</head>
9+
<body>
10+
11+
<h1>Contact Us Form</h1>
12+
13+
<div class="container">
1014
<form>
11-
<div class="container">
12-
<form>
13-
14-
<label for="fname">First Name</label>
15-
<input type="text" id="fname" name="firstname" placeholder="Your name..">
16-
17-
<label for="lname">Last Name</label>
18-
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
19-
20-
<label for="email">Email</label>
21-
<input type="email" id="email" name="email" placeholder="Your email..">
22-
23-
<label for="country">Country</label>
24-
<select id="country" name="country">
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>
31-
32-
<label for="subject">Subject</label>
33-
<textarea id="subject" name="subject" placeholder="Write something.." style="height:200px"></textarea>
34-
35-
<input type="submit" value="Submit">
36-
37-
</form>
38-
</div>
15+
16+
<label for="fname">First Name</label>
17+
<input type="text" id="fname" name="firstname" placeholder="Your name.." required>
18+
19+
<label for="lname">Last Name</label>
20+
<input type="text" id="lname" name="lastname" placeholder="Your last name.." required>
21+
22+
<label for="email">Email</label>
23+
<input type="email" id="email" name="email" placeholder="Your email.." required>
24+
25+
<label for="country">Country</label>
26+
<select id="country" name="country" required>
27+
<option value="india">India</option>
28+
<option value="australia">Australia</option>
29+
<option value="canada">Canada</option>
30+
<option value="usa">USA</option>
31+
<option value="uk">UK</option>
32+
</select>
33+
34+
<label for="subject">Subject</label>
35+
<textarea id="subject" name="subject" placeholder="Write something.." style="height: 200px;" required></textarea>
36+
37+
<input type="submit" value="Submit">
38+
39+
</form>
40+
</div>
41+
3942
</body>
4043
</html>

0 commit comments

Comments
 (0)