-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
72 lines (64 loc) · 1.78 KB
/
contact.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
<!DOCTYPE html>
<html>
<head>
<title>Contact Us - Travel Recommendation</title>
<style>
nav {
background-color: #333;
overflow: hidden;
}
nav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav a:hover {
background-color: #ddd;
color: black;
}
.contact-form {
max-width: 600px;
margin: auto;
padding: 20px;
border: 1px solid #ccc;
background-color: #f9f9f9;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 12px;
margin: 8px 0;
box-sizing: border-box;
}
.contact-form button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<nav>
<a href="index.html">Home</a>
<a href="about.html">About Us</a>
<a href="contact.html">Contact Us</a>
</nav>
<h1>Contact Us</h1>
<div class="contact-form">
<form>
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your name..">
<label for="email">Email</label>
<input type="text" id="email" name="email" placeholder="Your email..">
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Write something.." style="height:200px"></textarea>
<button type="submit">Submit</button>
</form>
</div>
</body>
</html>