" code in the head part of the HTML document to automatically refresh the page every x seconds to achieve the effect of continuously refreshing the page."/> " code in the head part of the HTML document to automatically refresh the page every x seconds to achieve the effect of continuously refreshing the page.">
Home > Article > Web Front-end > How to set the html page to refresh the page continuously
Setting method: You can add the "" code to the head part of the HTML document to automatically refresh the page every x seconds. , to achieve the effect of constantly refreshing the page.
The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
html page keeps refreshing the page
HTML head sets the page automatic refresh function
<meta http-equiv="Refresh" content="2">
The page automatically refreshes once every 2 seconds
<meta http-equiv="X-UA-Compatible" content="ie=edge">
Compatible with Ie
Sample code:
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="Refresh" content="2">Document Hello world
Effect:
More programming related knowledge , please visit: programming video! !
The above is the detailed content of How to set the html page to refresh the page continuously. For more information, please follow other related articles on the PHP Chinese website!