refresh html code example Example 1: javascript reload page location.reload(); Example 2: meta refresh <meta http-equiv="refresh" content="30">