How to Get a Web Page to Refresh Every Day
The HyperText Markup Language, better known as HTML, is used in website design to tell Web browsers what to display when a page loads. Besides using HTML to add text, images and links to a Web page, you can also enter code to perform certain actions within a browser. For example, you can use custom HTML code to set your website to automatically refresh once a day, starting from the time a user first visits the site.
Instructions
-
-
1
Launch a web editing application or a text editor such as Notepad.
-
2
Open the HTML code file for the Web page you want to have reload every day.
-
-
3
Place your text cursor between the "<HEAD>" and "</HEAD>" tags, which should be located near the top of page.
-
4
Type "<META HTTP-EQUIV="refresh" CONTENT="86400">" into the HTML code. The "86400" part of the code instructs the browser to reload the current page every 86,400 seconds, which is once a day.
-
5
Save the HTML document and publish it to your Web server.
-
1
References
- Photo Credit Comstock/Comstock/Getty Images