Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<script>
function redirectFunc() {
window.location.assign("https://www.w3docs.com/");
}
setTimeout("redirectFunc()", 2000);
</script>
</body>
</html>