-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbasic_cc_2.html
79 lines (79 loc) · 2.25 KB
/
basic_cc_2.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Form Autofill Demo: Basic Credit Card @autocomplete</title>
<link rel="stylesheet" href="css/base.css"/>
<style>
td {
padding: 0.4em 0.2em;
}
</style>
<script type="text/javascript" src="base.js"></script>
</head>
<body>
<h1>Credit Card</h1>
<form>
<table>
<tr>
<td>
Card Holder Name:
</td>
<td>
<input type="text" autocomplete="cc-name" style="width: 120px;">
</td>
<td>
Security Code:
</td>
<td>
<input type="text" autocomplete="cc-csc" style="width: 50px;">
</td>
</tr>
<tr>
<td>
Card Number:
</td>
<td>
<input type="text" autocomplete="cc-number" style="width: 180px;">
</td>
<td>
Expiry Date:
</td>
<td>
<select autocomplete="cc-exp-month">
<option value="">MM</option>
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select> /
<select autocomplete="cc-exp-year">
<option value="">YYYY</option>
<option value="17">2017</option>
<option value="18">2018</option>
<option value="19">2019</option>
<option value="20">2020</option>
<option value="21">2021</option>
<option value="22">2022</option>
<option value="23">2023</option>
<option value="24">2024</option>
<option value="25">2025</option>
<option value="26">2026</option>
<option value="27">2027</option>
<option value="28">2028</option>
</select>
</td>
</tr>
</table>
<input type="submit" value="Submit" style="margin-top: 1em;">
</form>
</body>
</html>