-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
139 lines (120 loc) · 3.48 KB
/
contact.html
File metadata and controls
139 lines (120 loc) · 3.48 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Me</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7fc;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: white;
border-radius: 8px;
padding: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 800px;
}
h1 {
text-align: center;
font-size: 2rem;
color: #333;
margin-bottom: 20px;
}
table {
width: 100%;
margin-bottom: 30px;
border-collapse: collapse;
}
table td {
padding: 10px;
text-align: left;
}
table td strong {
color: #555;
}
form {
display: flex;
flex-direction: column;
}
label {
font-size: 1rem;
margin-bottom: 6px;
color: #333;
}
input[type="text"],
input[type="email"],
textarea {
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
textarea {
resize: vertical;
}
input[type="submit"] {
background-color: #5C6BC0;
color: white;
border: none;
padding: 12px;
font-size: 1rem;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #3f4b92;
}
@media (max-width: 600px) {
.container {
padding: 20px;
}
}
</style>
</head>
<body>
<div class="container">
<h1>Contact Details</h1>
<table>
<tr>
<td><strong>Phone:</strong></td>
<td>03493212647</td>
</tr>
<tr>
<td><strong>Email:</strong></td>
<td>meerkhalil3212647@gmail.com</td>
</tr>
<tr>
<td><strong>Address:</strong></td>
<td>Chapri Tehsil Isa Khel, District Mianwali, Punjab Pakistan</td>
</tr>
</table>
<h2>Send a Message</h2>
<form action="index.html">
<label><strong>Your Name:</strong></label>
<input type="text" name="name" required>
<label><strong>Your Email:</strong></label>
<input type="email" name="email" required>
<label><strong>Your Message:</strong></label>
<textarea rows="5" name="message" required></textarea>
<input type="submit" value="Send Message">
</form>
<div class="text-center mt-6">
<a href="index.html" class="text-blue-600 hover:underline text-lg">Home</a>
</div>
</div>
</body>
</html>