-
Notifications
You must be signed in to change notification settings - Fork 4
/
ticketbooking.html
40 lines (39 loc) · 1.97 KB
/
ticketbooking.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>blueBus - A Heaven For Travellers</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
</head>
<body>
<h1>Book The Bus Ticket!!</h1>
<div class="container">
<form action="ticketbooking.php" method="get">
<label for="name">Enter the name: </label>
<input type="text" id="name" class="name" name="name"><br>
<label for="age">Enter your age: </label>
<input type="number" id="age" class="age" min="1" max="60" name = "age"><br>
<label for="email">Enter your email: </label>
<input type="text" id="email" class="email" name = "email"><br>
Enter your gender:
<input type="radio" name="gender" id="male" value = "male">
<label for="male">Male</label>
<input type="radio" name="gender" id="female" value="female">
<label for="female">Female</label>
<input type="radio" name="gender" id="other" value="other">
<label for="other">Other</label><br><br>
<label for="source">Enter the source: </label>
<input type="text" id="source" class="source" name="source"><br>
<label for="destination">Enter the destination: </label>
<input type="text" id="destination" class="destination" name="destination"><br>
<label for="journeyDate">Select the journey date: </label>
<input type="date" id="journeyDate" class="journeyDate" name="dateFrom"><br>
<label for="numberOfTicket">Enter the total number of ticket: </label>
<input type="number" name="numberOfTicket" id="numberOfTicket" min="1" max="5"><br>
<input type="submit" value="Buy Ticket" name = "search">
</form>
</div>
</body>
</html>