Creating an Automatic Slide Show

And now for something completely different! You can use a special feature of the meta attribute, within the head section, to automatically move the reader from one page to another. If you set up a series of pages in this way, you create a Web slide show.

To create an automatic slide show:

1.
In the first page, within the head section, type <meta http-equiv="refresh". (That’s a regular hyphen between http and equiv.)
2.
Type content="n; where n is the number of seconds the current page should display on the screen.
3.
Type url=nextpage.html" /> where next-page.html is the URL of the next page that you want the visitor to jump to automatically.
4.
Repeat these steps for each page in the series.
Figure 18.59. ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.