110 likes | 238 Views
What is HTML5?. Jason Hanley Syllogistic Software Inc. Video available at http://youtu.be/-PVwnMruoeI. Something for everyone. New tags and types Canvas Media Geolocation Drag and Drop Offline and Local Storage . New tags and types. The "semantic web" <header> and <footer>
E N D
What is HTML5? Jason Hanley Syllogistic Software Inc. Video available at http://youtu.be/-PVwnMruoeI
Something for everyone • New tags and types • Canvas • Media • Geolocation • Drag and Drop • Offline and Local Storage
New tags and types • The "semantic web" • <header> and <footer> • <section> and <article> • New <input> types • email, url, number, date, ... • Form validation
Canvas • Draw complex graphics • Could replace Flash • Strong support from Apple and Google • Not so muchfrom Adobe Onslaught
Media • <audio> tag • Chrome has embedded mp3 player • <video> tag • Native video support(no plugins)
Geolocation • Tells a web app where you're at • Javascript API • navigator.geolocation.getCurrentPosition() • Wide support (no IE)
Drag and Drop • Gmail and YouTube support dragging from OS in Chrome!(using File API?) • Inter-page well supported in most browsers
Offline and Local Storage • Offline • Entire site or subset of files • Local Storage • Similar to cookies • name/value pairs • Immediate (js API)
...And related technologies • CSS3 • Rounded corners! • Drop shadows! • Javascript • Speed • Libraries
Crazy Techie Stuff • Web Workers • Do stuff in the background • Messages • Send info between tabs • Web SQL Database • Structured local storage
Why HTML5? • "NLA" • Native-like Application • Great Example: • mail.google.com on iPad • Looks native and runs offline