-
Notifications
You must be signed in to change notification settings - Fork 1
/
paymentform.html
64 lines (63 loc) · 1.94 KB
/
paymentform.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
<!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>payment form</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<form action="">
<h1>Payment Form</h1>
<h2>User Details</h2>
<p>Name:*<input type="text" name="name" id="name" required placeholder="Abhinav Gupta"></p>
<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: <input textarea type="text" name="Address" placeholder="Enter your address">
</p>
<p>
Email:*<input type="email" name="email" placeholder="[email protected]" required>
</p>
<p>
Pincode:* <input type="number" name="Pincode" required placeholder="123456">
</p>
<h2>Payment Details</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="master_card">master card</option>
</select>
<p>
<legend>
<img src="visa_card_logo.png" alt="Visa card" class="card">
<img src="master_card_logo.png" alt="Master card" class="card">
<img src="rupay_card_logo.jpg" alt="Rupay card" class="card">
</legend>
</p>
</p>
<p>
Card Number: *<input type="number" name="card_number" required placeholder="1111-2222-3333-4444">
</p>
<p>
Expiration Date: *<input type="date" name="expiration date" required placeholder="mm-yyyy">
</p>
<p>
CVV: *<input type="number" name="cvv" required placeholder="123">
</p>
<p>
<input type="submit" value="Pay Now">
</p>
</form>
</div>
</body>
</html>