|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
6 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | | - <link rel="stylesheet" href="form.css"> |
8 | | - <title>Document</title> |
9 | | - <link href="styleQ7.css" rel="stylesheet"/> |
| 5 | + <title>Card Form</title> |
| 6 | + <link rel="stylesheet" href="styleQ7.css"> |
10 | 7 | </head> |
11 | 8 | <body> |
12 | | - <div class="container"> |
13 | | - <form action="https:\\google.com" method="GET"> |
14 | | - <p>Yes! I want to subscribe to <i>Mag-O-Zine</i></p> |
15 | | - <div id="l1"> |
16 | | - <input type="text" placeholder="First name"/> |
17 | | - <input type="text" placeholder="last name"/> |
18 | | - </div> |
19 | | - <div id="l2"> |
20 | | - <input type="text" placeholder="Address"/> |
21 | | - </div> |
22 | | - <div id="l3"> |
23 | | - <input type="text" placeholder="City"/> |
24 | | - <input type="text" placeholder="State"/> |
25 | | - <input type="number" placeholder="Zip"/> |
26 | | - </div> |
27 | | - <div id="l4"> |
28 | | - <label for="subscription">Subscribe for :</label> |
29 | | - <input type="checkbox"/>1 year($19.95) |
30 | | - <input type="checkbox"/>2 years($35.00) |
31 | | - </div> |
32 | | - <div id="l5"> |
33 | | - Send me more information about: |
34 | | - <br> |
35 | | - <input type="checkbox"/>Computer-Zine |
36 | | - <br> |
37 | | - <input type="checkbox"/>Fishing-Zine |
38 | | - <br> |
39 | | - <input type="checkbox"/>Cat-O-Zine |
40 | | - </div> |
41 | | - </form> |
42 | | - </div> |
| 9 | + |
| 10 | +<h1>Card Form</h1> |
| 11 | + |
| 12 | +<form class="card-form"> |
| 13 | + <label for="name">Name</label> |
| 14 | + <input type="text" id="name" required> |
| 15 | + |
| 16 | + <label for="email">Email</label> |
| 17 | + <input type="email" id="email" required> |
| 18 | + |
| 19 | + <label for="address">Address</label> |
| 20 | + <textarea id="address" required></textarea> |
| 21 | + |
| 22 | + <button type="submit">Submit</button> |
| 23 | +</form> |
| 24 | + |
43 | 25 | </body> |
44 | 26 | </html> |
0 commit comments