title: HTML Slidy: Slide Shows in HTML and XHTML author: Dave Raggett copyright: Copyright © 2005-2010 W3C (MIT, ERCIM, Keio) # Slide Shows in HTML and XHTML - You can now create accessible slide shows with ease - Works across browsers and is operated like PowerPoint - Advance to next slide with mouse click, space bar or swipe right - Move forward/backward between slides with Cursor Left, Cursor Right, __Pg Up__ and __Pg Dn__ keys, or swipe right or left - __Home__ key for first slide, __End__ key for last slide - "__C__" key for an automatically generated table of contents, or click on "contents" on the toolbar or swipe up or down - Function __F11__ to go full screen and back - The "__F__" key toggles the display of the footer - The "__A__" key toggles display of current vs all slides - Try it now to see how to include notes for handouts (this is explained in the notes following this slide) - Font sizes automatically adapt to browser window size - __S__ and __B__ keys for manual control (or < and >, or the __-__ and __+__ keys on the number pad - Use CSS to set a relative font size on a given slide to make the content bigger or smaller than on other slides - Switching off JavaScript reveals all slides - _Now move to next slide to see how it works_ # What you need to do - Each presentation is a single XHTML file - Each slide is enclosed in `
` - The `div` element will be created automatically for `h1` elements that are direct children of the body element. - Use regular markup within each slide - The document head includes two links: - The slide show style sheet: [http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css](http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css) - The slide show script: [http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js](http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js) - Or you can link to the compressed version of the script which is about one seventh the size, see [http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js.gz](http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js.gz) - If you are using XHTML, remember to use `` and `` as per [Appendix C.3](http://www.w3.org/TR/xhtml1/#C_3) Example: