+ 3
Your code not giving any errors
+ 1
I don't know it will work or not but you have actually a wrong syntex
Put style tag in head tag insted of after html close tag
try it once
+ 1
Tharuke, your code isn't showing any error message,
0
It seems to be allright .
No error is there for me
0
<!-- By Tharuke-->
<!DOCTYPE html>
<html>
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
<head>
<title>Test for Redirect</title>
<meta http-equiv="Refresh" content="0 url=https://tiny.cc/craftmuch">
<style>
.loader {
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
html {
color: white;
background-color: #0da2ff;
font-family: 'Lato';
}
</style>
</head>
<body>
<center><h1>Redirecting Now...</h1><center>
<br />
<!-- Loader </!-->
<center><div class="loader"></div></center>
<!-- I have no idea why it gives a syntax error after the redirect, can someone tell me in the discussion/comment section?</!-->
</body>
</html>
Try this way
0
Not getting an error.
Perhaps you mustn't use the style-tag outside of the html-tag