-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMy Favorite 5s.html
99 lines (91 loc) · 3.4 KB
/
My Favorite 5s.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
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<!-- saved from url=(0032)http://127.0.0.1:5500/page1.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Favorite 5s</title>
<style>
div{
align-content: center;
}
body {
font-family: Arial, sans-serif;
background-color: lightgreen;
align-content: center;
}
.navbar {
background-color: #333;
overflow: hidden;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar a:hover {
background-color: #ddd;
color:white;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
</style>
</head>
<body>
<div class="navbar" style=" background-color:black;">
<a href="http://127.0.0.1:5500/ass/page2.html">Home</a>
</div>
<h3 style="color: white; background-color: black;">ROHIT BANSAL</h3>
<div class="navbar" style=" background-color: black;">
<a href="http://127.0.0.1:5500/ass/page2.html" style="color: white; ">My Favorite 5s</a>
</div>
<h1 style="color: white; background-color: black;">Welcome to my Website</h1>
<img src="./My Favorite 5s_files/FotoJet_1_1200x768.jpeg" alt="Your Image" class="center">
<p style="color: black;">In this website I will tell about my favourite 5 poets and their contribution in the field of poetry and about their early life and their achievements in their life.</p>
<div class="forward-link">
<a href="http://127.0.0.1:5500/page2.html">Next</a>
</div>
<!-- Code injected by live-server -->
<script>
// <![CDATA[ <-- For SVG support
if ('WebSocket' in window) {
(function () {
function refreshCSS() {
var sheets = [].slice.call(document.getElementsByTagName("link"));
var head = document.getElementsByTagName("head")[0];
for (var i = 0; i < sheets.length; ++i) {
var elem = sheets[i];
var parent = elem.parentElement || head;
parent.removeChild(elem);
var rel = elem.rel;
if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") {
var url = elem.href.replace(/(&|\?)_cacheOverride=\d+/, '');
elem.href = url + (url.indexOf('?') >= 0 ? '&' : '?') + '_cacheOverride=' + (new Date().valueOf());
}
parent.appendChild(elem);
}
}
var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://';
var address = protocol + window.location.host + window.location.pathname + '/ws';
var socket = new WebSocket(address);
socket.onmessage = function (msg) {
if (msg.data == 'reload') window.location.reload();
else if (msg.data == 'refreshcss') refreshCSS();
};
if (sessionStorage && !sessionStorage.getItem('IsThisFirstTime_Log_From_LiveServer')) {
console.log('Live reload enabled.');
sessionStorage.setItem('IsThisFirstTime_Log_From_LiveServer', true);
}
})();
}
else {
console.error('Upgrade your browser. This Browser is NOT supported WebSocket for Live-Reloading.');
}
// ]]>
</script>
</body></html>