forked from rxiddhi/practice_section-B
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhw.html
91 lines (88 loc) · 2.75 KB
/
hw.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
box-sizing: border-box;
}
body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 15px 30px;
font-size: 17px;
padding: 5px;
}
.container {
padding: 15px;
border-radius: 4px;
background-color: rgb(242, 242, 242);
}
h1 {
text-align: center;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
textarea,
select {
width: 100%;
padding: 12px;
margin-top: 5px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
fieldset {
background-color: rgb(255, 255, 255);
padding: 15px;
border: rgb(204, 204, 204);
}
input[type="submit"]{
background-color: rgb(137, 211, 166);
padding: 10px;
margin-left: 10%;
width: 80%;
border: none;
border-radius: 4px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
input[type="submit"]:hover {
cursor: pointer;
}
</style>
</head>
<body>
<form action=" " class="container">
<h1>Payment Form</h1>
<hr>
<h2>User Information</h2>
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name..."required>
<p></p>https://github.com/Rudrxxx/html-and-css
<fieldset>
<legend>Gender</legend>
<input type="radio" value="male" name="gender">Male
<input type="" value="female" name="gender">Female
</fieldset>
<p><label>Address: <textarea rows="4" col="7" id="textarea" name="address" placeholder="Enter your Address..."></textarea></label></p>
<p><label>Email: <input type="email" placeholder="Enter your Email..." name="email"></label> <br></p>
<p><label>Pincode: <input type="number" placeholder="Enter your Pincode..." name="Pincode"></label></p>
<h2>Payment Information</h2>
<p>
<label> Card Type:
<select>
<option value="">--Select Card Type--</option>
<option value="VISA" name="Card Type">VISA</option>
<option value="Mastercard" name="Card Type">Mastercard</option>
</select>
</label>
</p>
<p><label>Card Number <input type="number" placeholder="1111-2222-3333-4444" name="Card Number" required></label></p>
<p><label>Expiration Date <input type="date" id="expDate" name="expiryDate"></label></p>
<p><label>CVV <input type="password" id="password" placeholder="Enter CVV..." name="CVV"></label></p>
<input type="submit" value="Submit" class="submitButton">
</form>
</body>
</html>