Exploring HTML5 Features: A Gateway to Modern Web Development
This presentation by Giuseppe Attardi from Università di Pisa provides an insightful overview of HTML5. It highlights new semantic elements like ``, ``, ``, and multimedia capabilities such as `` and ``. Attardi discusses browser support nuances, including challenges with older Internet Explorer versions, and emphasizes the benefits of localStorage and new input types for mobile compatibility. The use of Canvas for dynamic graphics and the transition away from Flash video is also presented, equipping developers with a strong foundation to utilize HTML5 effectively.
Exploring HTML5 Features: A Gateway to Modern Web Development
E N D
Presentation Transcript
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> (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
<header> <nav> <article> <aside> <footer>
<time> <figure> <legend> <meter>
<h1> <section> <h1> <h1>
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
Video • Native video support in browsers • DOM APIs for providing custom interfaces • No more dependence upon Flash
Video Implementations • Opera (OggTheora) • Safari (All QuickTime formats) • Firefox (OggTheora)
Canvas • Dynamically draw graphics and text • Graphics-oriented DOM APIs
Canvas Implementations • Opera • Firefox • Safari • IE 6+ using ExplorerCanvas script