Solved

Refreashing a page automatically.

Posted on 1998-07-02
1
157 Views
Last Modified: 2010-04-09
Hi,
     I was wondering how I would reload a page every 5 seconds or so automatically.
Thanks in advance.
0
Comment
Question by:cide
1 Comment
 
LVL 2

Accepted Solution

by:
johnny99 earned 10 total points
ID: 1844532
OK first of all, not all browsers do this: Netscape 2 and greater, Explorer 3.1 but not 3.0 I think, but anyway...

Put this code into the <HEAD>...</HEAD> portion of your page:

<META HTTP-EQUIV="refresh" CONTENT="n ; URL=url">

Where n is the number of seconds and url is the url you want it to go to. If you just want it to refresh itself then you don't put the URL=url part.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question