-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
77 lines (62 loc) · 1.67 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/3/w3.css">
<!-- Content will go here -->
<style>
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
/* Style the header */
.header {
text-align: center;
background: #1abc9c;
}
/* Increase the font size of the h1 element */
.header h1 {
font-size: 40px;
}
.header p {
font-size: 20px;
}
</style>
</head>
<body>
<div class="header">
<h1><b>T.M.KHADI CENTRE</h1></b>
<p><i>One stop for men's outfit!!!</p></i>
</div>
<!-- Navigation -->
<nav class="w3-bar w3-black">
<a href="#home" class="w3-button w3-bar-item">Home</a>
<a href="#tour" class="w3-button w3-bar-item">Tour</a>
<a href="#contact" class="w3-button w3-bar-item">Contact</a>
</nav>
<!-- Slide Show -->
<section>
<center><img class="mySlides" src="gandhi-on-charkha.jpg" align="middle" style="width:60%" style="height:60%"></center>
<center><img class="mySlides" src="WhatsApp%20Image%202019-04-16%20at%205.04.19%20PM%20(1).jpeg" align="middle" style="width:60%" style="height:60%"></center>
</section>
<script>
// Automatic Slideshow - change image every 3 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 3000);
}
</script>
</body>
<a id="contact"><h1><b> +919160614801 </h1></b></a>
<a id="contact"><h1><b> +919985310243 </h1></b></a>
</html>