/
form-validation2-download.html
49 lines (46 loc) · 1.12 KB
/
form-validation2-download.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<title>Form validation: Task 2</title>
<style>
body {
background-color: #fff;
color: #333;
font: 1em / 1.4 Helvetica Neue, Helvetica, Arial, sans-serif;
padding: 1em;
margin: 0;
}
* {
box-sizing: border-box;
}
</style>
</head>
<body>
<form>
<h2>Enter your support query</h2>
<ul>
<li>
<label for="uname">User name:</label>
<input type="text" name="uname" id="uname" required>
</li>
<li>
<label for="email">Email address:</label>
<input type="text" name="email" id="email" required>
</li>
<li>
<label for="phone">Phone number:</label>
<input type="text" name="phone" id="phone" required>
</li>
<li>
<label for="comment">Comment:</label>
<textarea name="comment" id="comment" required>
</textarea>
</li>
<li>
<button>Submit comment</button>
</li>
</ul>
</form>
</body>
</html>