Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Form Autofill Credit Card Demo Page</title>
</head>
<body>
<h1>Form Autofill Credit Card Demo Page</h1>
<form id="form">
<p><label>Name: <input id="cc-name" autocomplete="cc-name"></label></p>
<p><label>Card Number: <input id="cc-number" autocomplete="cc-number"></label></p>
<p><label>Expiration string: <input id="cc-exp" autocomplete="cc-exp"></label></p>
<p><label>CSC: <input id="cc-csc" autocomplete="cc-csc"></label></p>
<p><label>Card Type: <select id="cc-type" autocomplete="cc-type">
<option></option>
<option value="discover">Discover</option>
<option value="jcb">JCB</option>
<option value="visa">Visa</option>
<option value="mastercard">MasterCard</option>
<option value="gringotts">Unknown card network</option>
</select></label></p>
<p>
<input type="submit" value="Submit">
<button type="reset">Reset</button>
</p>
</form>
</body>
</html>