Refresh

I want to refresh the html file automatically after 5 seconds of its load. How can I do it in html?
techguy90Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RoonaanCommented:
<meta http-equiv="refresh" content="5" />

You can also specify a refresh url like so:
<meta http-equiv="refresh" content="5;URL=http://domain.com/mypage.html" />

-r-
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Irwin SantosComputer Integration SpecialistCommented:
<META HTTP-EQUIV=Refresh CONTENT="5; URL=http://www.yourwebsite.com/">

put that between <head>  </head>
0
RoonaanCommented:
Nice copy and paste. :-/

-r-
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Irwin SantosComputer Integration SpecialistCommented:
@techguy90....Roonaan's answer was first and correct... My comment was posted the same time..so that should have been correct too. In addition, you accepted felixmosesj which is correct, but totally plagarized from another website (which violates EE rules).  A simple URL to the other site would have sufficed.

The correct course of this solution was to accept the first comment.
0
RoonaanCommented:
irwinpks,

techguy10 - techguy90 + felixmosesj are scamming EE. I have asked Netminder to look into this.

Review felixmosesj answer history and you will notice the same thing I noticed.

-r-
0
Irwin SantosComputer Integration SpecialistCommented:
@roonaan...good point... uncool.. I feel and IP & Email ban coming soon.
0
Irwin SantosComputer Integration SpecialistCommented:
@roonaan.. i posted a question in support to look into this.
0
RoonaanCommented:
I notice your question an have subscribed to it. Thank you for your prompt action.

-r-
0
Irwin SantosComputer Integration SpecialistCommented:
i wonder what they get out of this, other than building points.  unless they are building up to get enough points for a hard question they want answered.. probably the same person with multiple email accounts.
0
RoonaanCommented:
They get premium access I guess. Which allows them to search the database and browse without ads.
0
Irwin SantosComputer Integration SpecialistCommented:
that's messed up...surely they are reading this.
0
Irwin SantosComputer Integration SpecialistCommented:
split between roonaan & myself... we both posted the same time.. .though his was first, i supplemented by informing the correct positioning of the <meta> tag.
0
Irwin SantosComputer Integration SpecialistCommented:
@netminder...please refer to my previous comment. thanks in advance.
0
RoonaanCommented:
I agree with irwinpks. A split would be fine.

-r-
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.