-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTML-payment-form.html
103 lines (100 loc) · 3.86 KB
/
HTML-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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=
, initial-scale=1.0">
<title>Payment Form</title>
<link rel="stylesheet" href="payment-form.css">
</head>
<body>
<form action="">
<h1>Payment Form</h1>
<p><abbr title="required">*</abbr><strong>-Must be Filled up!</strong></p>
<section> <!--First Section-Contact Information-->
<h2>Contact Information</h2>
<fieldset>
<legend>Title</legend>
<ul>
<li>
<label for="title-1">
<input type="radio" name="title" id="title-1" value="Mr">
Mr.
</label>
</li>
<li>
<label for="title-2">
<input type="radio" name="title" id="title-2" value="Mrs.">
Mrs.
</label>
</li>
<li>
<label for="title-3">
<input type="radio" name="title" id="title-3" value="None">
None
</label>
</li>
</ul>
</fieldset>
<div>
<p> <!--Input User Name-->
<label for="name">
<span>Name:</span>
<strong>
<abbr title="required">*</abbr>
</strong>
</label>
<input type="text" class="valid" name="username" id="name" required>
<span class="validation"></span>
</p>
</div>
<p> <!--Input User Mail-->
<label for="mail">
<span>Email:</span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="text" name="usermail" id="mail">
</p>
<p> <!--Input User Password-->
<label for="password">
<span>Password:</span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="password" id="password" name="userpassword" >
</p>
</section> <!--end of first section-->
<section> <!--Second Section-Payment Information-->
<h2>Payment Information</h2>
<p>
<label for="card">
<span>Card Type:</span>
</label>
<select name="usercard" id="card">
<option value="visa">Visa</option>
<option value="american">American Express</option>
<option value="mc">MasterCard</option>
<option value="Paypal">Paypal</option>
</select>
</p>
<div>
<p>
<label for="c-number">
<span>Card Number:</span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="tel" name="cardnumber" id="c-number" pattern=".{11,}" minlength="11" required>
<span class="validation"></span>
</p>
</div>
<p>
<label for="date">
<span>Expiration Date:</span>
<strong><abbr title="required">*</abbr></strong>
</label>
<input type="date" name="expiration" id="date">
</p>
</section> <!--end of second section-->
<p> <button type="submit">Validate the payment</button> </p>
</form>
</body>
</html>