-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment_form.html
52 lines (52 loc) · 1.97 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
<!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">
<link rel="stylesheet" href="./payment.css">
<title>Payment form</title>
</head>
<body class="body">
<div class="container">
<!-- form ko blank rakh rhe hai kyuki server chahiye jo mere pass nhi hai -->
<form action="" method="get">
<h1 class="main_heading">Payment Form</h1>
<p>Required fields are followed by *</p>
<h2>User Information</h2>
<p>Name: *<input type="text" name="name" required> </p>
<fieldset class="fieldset">
<legend>Gender *</legend>
<p>
Male * <input " type="radio" name="Gender" id="Male" required> female *<input type="radio" name="Gender" id="female" required>
</p>
</fieldset>
<p> Address:
<textarea class="textarea" name="Address" id="Address" cols="100" rows="10"></textarea>
</p>
<p>Email:* <input type="email" name="email" id="email" required></p>
<p>Pincode: *<input type="number" name="pincode" id="pincode" required> </p>
<hr>
<h2>Payment information</h2>
<p>Card Type:*
<select name="Card type" id="Card type" required>
<option value=""---Select a card type></option>
<option value="visa">visa</option>
<option value="rupay">rupay</option>
<option value="mastercard">mastercard</option>
</select>
</p>
<p>
Card Number: *<input type="number" name="card number" id="card number" required>
</p>
<p>
Expiration Date : *<input type="date" name="exp_date" id="exp_date" required>
</p>
<p>
CVV :* <input type="password" name="CVV" id="CVV" required>
</p>
<input type="submit" value="pay now">
</form>
</div>
</body>
</html>