1 / 15

HTML 5

HTML 5. Giuseppe Attardi Università di Pisa. Slides from Lachlan Hunt. HTML5 in 1 Slide. Get started: http://www.alistapart.com/articles/previewofhtml5 http://diveintohtml5.org DOCTYPE: <! doctype html> NEW TAGS <header> <footer> < nav > <article> <section> <aside>

Télécharger la présentation

HTML 5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML 5 Giuseppe Attardi Universitàdi Pisa Slides from Lachlan Hunt

  2. HTML5 in 1 Slide Get started: http://www.alistapart.com/articles/previewofhtml5 http://diveintohtml5.org DOCTYPE: <!doctype html> NEW TAGS <header> <footer> <nav> <article> <section> <aside> (But IE 6,7--even IE 8!—doesn't support styling these tags.) AUDIO/VIDEO <audio> <video> (But then the codecs need to work, sometimes ogg, sometimes mp3…) FEATURES localStorage New input types (great for mobile, see http://diveintohtml5.org/forms.html ) Modernizrhttp://www.modernizr.com

  3. New Structure and Semantics

  4. <header> <nav> <article> <aside> <footer>

  5. <time> <figure> <legend> <meter>

  6. <h1> <section> <h1> <h1>

  7. Element Implementations • No native support, but can be styled with CSS in • Opera • Firefox 3.0 • Safari • IE 6 and 7 using simple createElement() hack

  8. New Multimedia

  9. Video • Native video support in browsers • DOM APIs for providing custom interfaces • No more dependence upon Flash

  10. Video Implementations • Opera (OggTheora) • Safari (All QuickTime formats) • Firefox (OggTheora)

  11. Canvas • Dynamically draw graphics and text • Graphics-oriented DOM APIs

  12. Canvas Implementations • Opera • Firefox • Safari • IE 6+ using ExplorerCanvas script

More Related