More Related Content Similar to HTML5: Introduction (20) More from Guillermo Paz (7) HTML5: Introduction3. HTML 4
<h2>Título de un artículo</h2>
<p>
<strong>Había una vez...<strong>
un ninja que <em>estaba sólo</em>.
</p>
4. HTML5
<h2>Título de un artículo</h2>
<p>
<strong>Había una vez...<strong>
un ninja que <em>estaba sólo</em>.
</p>
5. HTML5
<h2>Título de un artículo</h2>
<p>
<strong>Había una vez...<strong>
un ninja que <em>estaba sólo</em>.
</p>
9. Collection of tools
• Semantics
• Offline & Storage
• Devices Access
• Connectivity
• Multimedia
• 3D, Graphics & Effects
• Performance & Integration
11. Semantics
• More meaningful elements
• Better semantic tags and attributes
• Semantic structure
• Microdata / Microformats
• ARIA attributes
• New form types
• More simple and cool
14. <!DOCTYPE html PUBLIC"-/ /W3C/ /DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/
DTD/xhtml1-transitional.dtd">
15. <!DOCTYPE html PUBLIC"-/ /W3C/ /DTD XHTML 1.0
Transitional//EN""http://www.w3.org/TR/xhtml1/
DTD/xhtml1-transitional.dtd">
25. <p itemscope> I’m going to the <a itemprop="url"
href="http://www.saltercane.com/">Salter Cane</a> gig
<data itemprop="date" datetime="2010-07-18">next
week</data>. Excited!</p>
27. ARIA attributes
• Improve the accessibility of RIAs
• JavaScript components
• Helps with dynamic content
• Semantic attributes and properties:
• roles (tree, navigation, presentation)
• properties (aria-selected, aria-hidden)
31. New forms
• Semantic types and attributes
• Mobile compatibility
• Validation engine
• Custom patterns
• More control
36. Web Storage
• Local storage / Session storage
• IndexedDB
• Application Cache (offline apps)
37. Local Storage
• JavaScript API
• Cliente-side database
• Key-value notation (JSON)
• Stored in users browsers
• 5 MB (per domain)
• the data persists (after the browser is
shutdown or the session is closed)
38. <ul id="tree1"
role="tree"
tabindex="0"
aria-labelledby="label_1">
<li role="treeitem" tabindex="-1" aria-
expanded="true">Fruits</li>
<li role="group">
<ul>
<li role="treeitem" tabindex="-1">Oranges</li>
<li role="treeitem" tabindex="-1">Pineapples</li>
...
</ul>
</li>
</ul>
40. Session Storage
=
Local Storage
limited to the time span where the current
window is open
once the window is shut will be invalid
42. IndexDB
• Web SQL database must die!
• Object Store
• http://www.html5rocks.com/en/
tutorials/indexeddb/todo/
44. AppCache
• Offline First
• Chache manifest (*.appcache => file)
• Load from local cache (HTML, CSS, JS
and images)
• mimetype: text/cache-manifest
• 5MB (chrome = unlimitedStorage)
• window.applicationCache
47. Device Access
• Geolocation API
• Camera / Microphone
• Local Data (contacts and events)
• Device Orientation
• Device Motion
• Vibration
• Notification
48. Device Access
• Geolocation API
• Camera / Microphone
• Local Data (contacts and events)
• Device Orientation
• Device Motion
• Vibration
• Notification
52. Who is using Web
Sockets?
• Facebook (chat, notifications, comments)
• Gmail
• Twitter
55. Who is using
Multimedia?
• Youtube
• Vimeo
• GrooveShark
60. SVG
• Scalable Vector Graphic
• Language for rich graphical content like
as:
• Pie charts,
• Two-dimensional graphs
65. WebGL
http://helloracer.com/webgl/
71. CSS3
• Transitions Webfonts
Text wrapping
• Animations
Columns
• Transforms
Opacity
• Gradients
Backgrounds
• Rounded corners
CSS selectors
• Flexible Box Model Shadows
• Multi-column