News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

Refresh a page every 20 seconds without using javascript

Started by karthick, Apr 09, 2008, 11:08 AM

Previous topic - Next topic

karthick

Refresh a page every 20 seconds without using javascript

We can refresh the page with the help of meta refresh tag.

The meta tag belongs within the <head> of your HTML document. When used to refresh the current page, the syntax looks like this:

<meta http-equiv="refresh" content="20″>

This is the amount of time, in seconds, until the browser should reload the current page.

Redirecting to a New Page

While the reload option is useful, it is usually not what people want from the meta refresh tag. To redirect to a new page, the syntax is nearly the same:

<meta http-equiv="refresh" content="2;url=http://itacumens.com">

The only difference is in the content attribute.

content="2;url=http://itacumens.com"

The number is the time, in seconds, until the page should be redirected. Then, separated by a semi-colon ( ; ) is the URL that should be loaded.
A part of Development in Our Website Front Page
www.itacumens.com

We simple build everything with sense
----karthick....

Sudhakar

Thank you, its were Webmaster will use to Refresh their website page while having any Google and Other Advertisement to store More Hits with Single Visit.  :'(