-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgood-cc-1.html
More file actions
93 lines (82 loc) · 1.65 KB
/
good-cc-1.html
File metadata and controls
93 lines (82 loc) · 1.65 KB
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo</title>
<style>
form {
display: grid;
grid-template-columns: [label] auto [input] 1fr;
gap: 10px;
margin-bottom: 10px;
}
label {
grid-column: label;
font-weight: bold;
}
input {
grid-column: input;
width: 200px;
}
</style>
</head>
<body>
<form>
<!-- カード番号 -->
<label for="cc-number">カード番号</label>
<input
type="text"
id="cc-number"
name="cc-number"
inputmode="numeric"
autocomplete="cc-number"
/>
<!-- カード名義(氏名フル) -->
<label for="cc-name">カード名義</label>
<input
type="text"
id="cc-name"
name="cc-name"
autocomplete="cc-name"
/>
<!-- 有効期限 -->
<label for="cc-exp">有効期限</label>
<input
type="month"
id="cc-exp"
name="cc-exp"
autocomplete="cc-exp"
/>
<!-- セキュリティコード -->
<label for="cc-csc">セキュリティコード</label>
<input
type="text"
id="cc-csc"
name="cc-csc"
inputmode="numeric"
maxlength="4"
autocomplete="cc-csc"
/>
<!-- メールアドレス -->
<label for="email">メールアドレス</label>
<input
type="email"
id="email"
name="email"
autocomplete="email"
/>
<!-- 電話番号 -->
<label for="tel">電話番号</label>
<input
type="tel"
id="tel"
name="tel"
inputmode="tel"
autocomplete="tel-national"
/>
<button>送信</button>
</form>
<script src="./form.js"></script>
</body>
</html>