-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment_form.html
59 lines (53 loc) · 2.04 KB
/
payment_form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Form</title>
<link rel="stylesheet" href="payment.css">
</head>
<body>
<div class="container">
<form action="http://localhost:3000/submit-form" method="POST"> <!-- Added action and method attributes -->
<h1 class="Main_heading">Payment form</h1>
<p>Required fields are followed by *</p>
<h2>Contact Information</h2>
<p>Name:* <input type="text" name="name" placeholder="Anubhab Chowdhury"></p>
<fieldset>
<legend>Sex*</legend>
<p>
Male <input type="radio" name="gender"id="male">
Female <input type="radio" name="gender"id="female">
</p>
</fieldset>
<p>
Address: <textarea name="address" if="address" cols="100"rows="7"></textarea>
</p>
<p>Email*: <input type="email" name="email" id="email"></p>
<p>Pincode*:<input type="number"name="pinnumber"></p>
<hr>
<h2>
Payment Information
</h2>
<p>Card Type*:
<select name="card_type" id="card_type">
<option value="">Select a Card Type</option>
<option value="visa">Visa</option>
<option value="mastercard">Master Card</option>
<option value="Rupay">Rupay</option>
</select>
</p>
<p>
Card Number* <input type="number" name="cardnumber" id="cardnumber">
</p>
<p>
Expiration Date*: <input type="date" name="card_exp_date"id="card_exp_date">
</p>
<p>
CVV*: <input type="password"name="cvv"id="cvv">
</p>
<input type="submit"value="Pay Now">
</form>
</div>
</body>
</html>