forked from alc-cohort1/GroupWork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form.html
62 lines (47 loc) · 1.98 KB
/
Form.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
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script type= " text/javascript">
<!--
function hello(){
alert("Welcome to JS")
}
-->
</script>
</head>
<body>
<form action="">
<div class="lower" style="width: 50%; height:500; margin-left: 29%" >
<h1 class="heading">Registration Form</h1>
<fieldset>
User Id: <input type="text" placeholder="required and must be of length 5 to 12 " ><p></p>
<a style="margin-left: 6px" >Password: <input type="password" name="" id="" placeholder=""><p></p>
<a style="margin-right: 12px" ></a> Name: <input type="text" id="Name" placeholder="" style="width: 40%;" > <p></p>
Address: <input type="Option" placeholder="option" style="width: 40%;" ><p></p>
Country:
<select name="Country" id="Country">
<option value="Selc">(please elect a Country)</option>
<option value="UK">United Kingdom</option>
<option value="US">United States</option>
<option value="UG">Uganda</option>
<option value=""></option>
</select><p></p>
ZIP Code: <input type="text"><p></p>
<a style="margin-right: 15px" ></a>Email: <input type="email" name="" id=""> <p></p>
Sex: <input type="radio" name="male" id="sex" value="sex">Male
<input type="radio" name="male" id="sex" value="sex">Female
<p></p>
Language: <input type="checkbox" name="english" value="English" id="" checked >English
<input type="checkbox" name="english" value="English" id="" english >Non-English <p></p>
About: <b>
<input type="text" style="width: 50%; height: 150px; margin-left: 43px; " placeholder="optional"><p></p>
<input type="submit" value="submit" style="margin-left: 350px" onclick="hello()">
</div>
</form>
</fieldset>
</body>
</html>