12
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

HTMLタグだけで簡易自動リロード(再読み込み)

Posted at

○秒に一回更新

リアルタイムWEBとかじゃなくていい、watchコマンド的に定期的に更新されるページをつくりたい、という場合はメタタグ1行で実現できます。

<meta http-equiv="refresh" content="60" >

(この例だと60秒に一度リロード)

参考:
http://www.tagindex.com/html_tag/page/meta_refresh.html

おまけ

チャット的なリアルタイムWEBならNode.js+Socket.IOなんですかね。(聞きかじり)

12
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?