I want my html code to open the Google Page and refresh it after every 5 seconds. The Code i have written, it opens the google page after 5 seconds but it doesn't refresh or reload it again. How can I do that?
Here is the Code:
<html>
<head>
<script>
setInterval(function(){
window.location.href ="https://www.google.com.pk/";
}, 5000);
</script>
</head>
<body>
</body>
</html>