This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrailwayForm.html
178 lines (153 loc) · 3.92 KB
/
railwayForm.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url("irctc.jpeg");
}
</style>
<meta charset="utf-8">
<title>ticket reservation system </title>
<style type="text/css">
body{background-color: white;
margin:0px}
iframe{border: 0px;margin: 0px;}
header{}
.logo{float: left}
nav{float: center;background-color: Black;overflow: none;}
ul {
list-style: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: black;
}
li {
float: left;
}
li a {
display: block;
text-decoration: none;
text-align: center;
padding: 10px 20px;
color: white;
font-size: 25px
}
li a:hover {
background-color: gray;
}
table {
font-family: "Arial";
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
button{width: 20%;
background-color:#006591;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
font-family: "Arial";
float: left;}
button:hover{background-color: #067620;
cursor: pointer;position: sticky;}
</style>
</head>
<body>
<nav>
<ul>
<li><a href> Description</a>
</li>
<li>
<a href>Fare Amount</a>
</li>
<li>
<a href>TimeTables</a>
</li>
<li>
<a href>Features of trains </a>
</li>
<li align="right">
<a href>Log Out</a>
</li>
</ul>
</nav>
<centre>
<form >
<fieldset>
<table>
<h1>Form for Tickets Reserveation </h1>
<tr>
<th>NAME </th>
<td>:</td>
<td><<input type="text" name=" NAME"id="name1" placeholder="enter your name "></td>
</tr>
<tr>
<th>EMAIL iD</th>
<td>:</td>
<td><<input type="email" name=" email"id="EMAIL1" placeholder="enter your EMAIL "></td>
</tr>
<tr>
<th>Contact Number </th>
<td>:</td>
<td><<input type="number" name="number"id="Number1" placeholder="enter your mobile no "></td>
</tr>
<tr>
<th> Number of seats </th>
<td>:</td>
<td><<input type="number" name="number1"id="Number2" placeholder="enter no of seats required "></td>
</tr>
<tr>
<th>Date of journey </th>
<td>:</td>
<td><<input type="date" name=" date "id="date1"></td>
</tr>
<tr>
<th>From</th>
<td>:</td>
<td><<input type="text" name="fr"id="days1" placeholder="enter Station Name "></td>
</tr>
<tr>
<th>To(Destination) </th>
<td>:</td>
<td><<input type="text" name=" to "id="dest1" placeholder="enter destination (station name) "></td>
</tr>
<tr>
<tr>
<th> purposse </th>
<td>:</td>
<td><<input type="text" name="purpose"id="purpose1" placeholder="enter your purpose of visit"></td>
</tr>
<th>amount </th>
<td>:</td>
<td><<input type="text" name=" amount "id="amount1" placeholder="press enter auto calculate "></td>
</tr>
<tr>
<th>Submit </th>
<td>:</td>
<td><button onclick="myFunction()">Submit</button>
</td>
</tr>
</table>
</fieldset>
</form>
</centre>
<script>
function myFunction() {
alert("Hello! I am an alert box!");
}
</script>
//made by Yogesh Arora
</body>
</html>