Refresh Web page automatically using Meta Tag

Developing a website, it required one functionality that, One page should be refreshing every 10 sec. I have tried different way to achieve (like C#, Treading, JQuery & JavaScript) this all are working fine. But my idea is simple way to achieve this.  While reading one book I found that META tag will be used for Refresh the pages. Please find the below code for reload the HTML/ASPX page.

The below code will do refresh in every 10 sec.
<meta http-equiv="refresh" content="10;url=Home.aspx"/>

Other features of Meta TAG
This will make Internet Explorer to display a webpage in IE9 mode, if possible

<meta http-equiv="X-UA-Compatible" content="IE=9"/>

 Setting the character set for the document

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

disables theme support for the Page

<meta http-equiv="msthemecompatible" content="no"/>

No comments:

Post a Comment