-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
114 lines (84 loc) · 2.29 KB
/
booking.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
<style>
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
input[type=submit] {
width: 100%;
background-color: DodgerBlue;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
.l1{
font-family: Arial, Helvetica, sans-serif;
}
input[type=submit]:hover {
background-color: #45a049;
}
#b1{
}
div {
/*border-radius: 5px;
background-color: #f2f2f2;
padding: 40px;*/
}
h1 {
font-size: 40px;
font-family: Arial, Helvetica, sans-serif;
}
form{
width: 500px;
height: 100px;
padding-left: 35%;
}
body {
background-image: url('p1.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
<body>
<b> <center> <h1>BOOKING</h1> </center> </b>
<div>
<form>
<label for="Pname" class="l1">Patient Name</label>
<input type="text" id="Pname" name="PatientName" placeholder="Enter name.." required>
<label for="Pno" class="l1"> Phone Number </label>
<input type="text" id="Pno" name="PhoneNumber" placeholder="Enter Phone Number.." required>
<label for="Email" class="l1"> Email </label>
<input type="text" id="Email" name="Email" placeholder="Enter Phone Number.." required>
<label for="Gender"class="l1">Gender</label>
<select id="Gender" name="Gender" required>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select>
<label for="Age" class="l1"> Age </label>
<input type="text" id="Age" name="Age" placeholder="Enter Age.." required>
<label for="Address" class="l1"> Address </label>
<input type="text" id="Address" name="Address" placeholder="Enter Address.." required>
<label for="BloodGroup" class="l1"> Blood Group </label>
<input type="text" id="BloodGroup" name="BloodGroup" placeholder="Enter BloodGroup">
<input id="b1" type="submit" value="Submit" onclick="myFunction()">
<script>
function myFunction() {
alert("Your Appoitment is booked");
}
</script>
</form>
</div>
</body>
</html>