We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

1man on 07/05/06


Tagged

html auto refresh code


Versions (?)


Who likes this?

4 people have marked this snippet as a favorite

luman
xaviaracil
robotoverlord
vali29


Auto Refresh Pages while Coding


Published in: HTML 


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.

  1. <META HTTP-EQUIV=Refresh CONTENT="10; URL=http://localhost/index.html">
  2. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

Report this snippet 

You need to login to post a comment.