17. if(Modernizr.canvas){ alert('you can use the element');}
else{ alert('not supported');}
if(Modernizr.inputtypes.date){
alert('you can use the element');
}
else{ alert('not supported');}
20. HTML5 idea on compatibility
• Support existing content
• Degrade gracefully
• <canvas>fallback</canvas>
• <video>fallback</video>
• <datalist> can take a hidden select
• Do not reinvent the wheel
• contenteditable=“” was already used and
implemented
• Adopt widespread practices
37. Absent presentational elements
<center><font><big>
Also align on <img> <table> etc…
background on <body>
bgcolor on <table>
http://www.w3.org/TR/html5-diff/#absent-elements
101. Web Storage
• Session Storage
• Temporary key/value pairs
• One session per tab/window
• Local Storage
• Same as session storage
• Persitant
• Global
102.
103.
104.
105. IndexedDB
• Object based data store
• Like a database without SQL
• Only vendor prefixed implementations
• Not ready
106.
107.
108.
109. Thank you for listening
Contact me on kevin@e-guidelines.be