-
Notifications
You must be signed in to change notification settings - Fork 0
/
assgn2.txt
86 lines (66 loc) · 1.62 KB
/
assgn2.txt
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<head>
<style>
body {
background-image : url("/desktop/grey-gradient.jpg") ;
}
form { width : 310px ;
padding : 10px 0px 10px 50px ;
text-align : left ;
border-style : solid ;
border-radius : 5px ;
border-color : black ;
background-color : darkgrey ;
}
body {
padding : 10px 500px 0px 480px ;
background-image : url("https://www.xmple.com/wallpaper/white-grey-gradient-linear-1920x1080-c2-ffffff-808080-a-300-f-14.svg");
}
input {
height : 20px ;
width : 250px ;
}
</style>
<title>ASSIGNMENT 2</title>
</head>
<body>
<p>
<form target="_blank" id="form1">
<h1> Registration Form </h1>
<label>
Enter your name
</label><br>
<input placeholder="Name" maxlength=20 pattern="[a-zA-Z]+" form="form1" type="text">
<br><br>
<label>
Enter your address
</label><br>
<input placeholder="Address" maxlength=100 pattern="[a-zA-Z]+" form="form1" type="text">
<br><br>
<label>
Enter your email
</label><br>
<input type="email" placeholder="Email" form = "form1" pattern="[a-z]+@[a-z]+\.com">
<br><br>
<label>
Enter your mobile number
</label><br>
<input type="string" size=10 placeholder="Mobile number" form="form1" pattern="[1-9]+[0-9]{9}">
<br><br>
<label>
Enter your account number
</label><br>
<input form="form1" type="string" placeholder="Account number" pattern="[1-9]+[0-9]{4}">
<br><br>
<label>
Enter your password
</label><br>
<input maxlength=20 type="password" placeholder="Password" form="form1">
<br><br>
<input type="submit" value="Submit" form="form1">
<br><br>
<a href="#form1">Admin login</a>
</form>
</p>
</body>
</html>