-
Notifications
You must be signed in to change notification settings - Fork 0
/
subscribe.html
69 lines (67 loc) · 1.89 KB
/
subscribe.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
<!DOCTYPEhtml>
<html>
<head>
<script>
function finalize()
{
var frst=document.forms[0].frstname.value
var scnd=document.forms[0].lastname.value
var mail=document.forms[0].emailid.value
if(frst==""||scnd==""||mail==""){alert("PLEASE MAKE SURE THAT ALL THE FIELDS ARE FILLED PROPERLY");
return false;
}
else
{
alert("CONGRATULATIONS ! YOU ARE NOW SUCCESSFULLY SUBSCRIBED TO OUR NEWS LETTERS");
return true;
}
}
</script>
<title>SUBSCRIPTION TO NEWS</title>
<style>
body {
background-image: url("menu_back.jpg");
}
.btn-group .button {
background-image: url("background-nav.jpg");
color: white;
font-size: 17px;
border: none;
padding: 15px 100px;
text-align: center;
float: left;
cursor: pointer;
}
div {
text-align: center;
}
p {
letter-spacing: 2px;
}
</style>
</head>
<body>
<div class="btn-group">
<a href="about.html"><button class="button button1">ABOUT</button>
<a href="main code.html"><button class="button button2">HOME</button>
<a href="Menu.html"><button class="button button3">MENU</button>
<a href="reservation.html"><button class="button button4">RESERVATION</button>
<a href="contact.html"><button class="button button5">CONTACT</button></a>
</div>
<h2><strong>OUR ACHIEVEMENTS</strong></h2>
<img src="newspic.png" width="100%" height="50%" />
<hr style="width:70%;height:1px"/>
<div>
<h2><strong>PLEASE FEEL FREE TO SUBSCRIBE TO OUR NEWS LETTERS</strong></h2>
<p>WE TRY UR BEST NOT TO ANNOY YOU WITH REPETITIVE UPDATES</p>
</div>
<form action=""method="post"onsubmit="finalize()">
FIRST NAME:<input type="text"name="frstname" value=""/>
LAST NAME:<input type="text"name="lastname" value=""/>
EMAIL ID:<input type="text"align="right"name="emailid" value=""/>
<br/>
<input type="submit"name="btnSubmit"value="Submit"/>
</form>
<img src="subs1.png" width="100%" height="50%" />
</body>
</html>