demosthenes.info

I’m Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with , and . To receive more information, including news, updates, and tips, you should follow me on Twitter.

featured articles

popular favourites

Action meta tags

Meta tags can also be used to cause actions in the browser itself. The most common is the “refresh” meta tag, useful for having a page that is often updated auto-reload in the browser window (the index page of CNN.com being a good example) or to redirect the user to another page automatically (as when a site has moved from one URL to another, and you want people who bookmarked the old site to be automatically redirected to the site’s new location).

Again, the meta tag is written inside the <head> section of the document:

  1. <meta http-equiv="refresh" content="5;url=http://www.cnn.com" / >

The number immediately after the content is the number of seconds before the refresh takes place, following it after a comma is the URL to which the page will go. (If there is no URL placed here, the page will simply reload itself).

You must be signed up in order to leave comments.

web developer guide

featured comment

by Aisling Brock in New Business Card Design

what i'm reading

A Feast for Crows: A Song of Ice and Fire: Book Four
A Feast for Crows: A Song of Ice and Fire: Book Four

what i'm watching

Prometheus: Collector's Edition (Bilingual) [Blu-ray 3D + Blu-ray + DVD + Digital Copy]
Prometheus: Collector's Edition (Bilingual) [Blu-ray 3D + Blu-ray + DVD + Digital Copy]

what i'm playing

Borderlands
Borderlands

what i'm hearing

Planets
Planets

blogs

podcasts

no ads ever

This blog is free of advertising, and always will be.

creative commons licensed

The content of this blog is free to use in whatever way you wish under the Creative Commons license.