Auto Refresh Pages while Coding


/ Published in: HTML
Save to your folder(s)

Insert these 2 lines into the to have your local pages refresh while coding. Make sure you use inline style sheets to stop caching problems. Remove once you make the site live.


Copy this code and paste it in your HTML
  1. <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://localhost/index.html">
  2. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.