-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRailwayForm.html
More file actions
49 lines (48 loc) · 1.67 KB
/
Copy pathRailwayForm.html
File metadata and controls
49 lines (48 loc) · 1.67 KB
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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Online Railway Reservation</h1>
<form>
<fieldset>
<legend>journey Details</legend>
<label for="form">From:</label>
<input type="text" id="form">
<label for="to">To:</label>
<input type="text" id="to">
<label for="class">Class:</label>
<select id="class">
<option value="first ac">first ac</option>
<option value="second ac">second ac</option>
<option value="third ac">third ac</option>
</select>
</fieldset><br><br>
<fieldset>
<legend>Passenger Details</legend>
<label for="name">Name:</label>
<input type="text" id="name">
<label for="age">Age:</label>
<input type="number" id="age">
<label for="gender">gender:</label>
<select id="gender">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
</fieldset><br><br>
<fieldset>
<legend>Contact</legend>
<label for="number">Mobile:</label>
<input type="tel" id="number">
<label for="mail">Email:</label>
<input type="Email" id="mail">
</fieldset><br><br>
<button>Book Ticket</button>
<button>Reset</button>
</form>
</body>
</html>