start learning
Image 1
32010265685

Meta Refresh tag

Role: Automatically refreshes the page after a specified number of seconds.
Importance: Can be used for time-sensitive content, but excessive use can harm user experience and SEO.



    <meta http-equiv="refresh" content="30">

Meta Refresh tag must be placed between the <head> and </head> as follow:


<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="refresh" content="30">
    <title>Sample Page</title>
</head>
<body>
      <!-- body content here -->
<footer>
        <!-- Footer content here -->
    </footer>
</body>
</html>
×