HTML5 - The 2012 of the Web - Adobe MAX
-
Upload
robert-nyman -
Category
Technology
-
view
5.416 -
download
2
description
Transcript of HTML5 - The 2012 of the Web - Adobe MAX
![Page 1: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/1.jpg)
HTML5 -
The 2012 of the Web
![Page 2: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/2.jpg)
![Page 3: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/3.jpg)
![Page 4: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/4.jpg)
![Page 5: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/5.jpg)
Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the Web for the public good
![Page 7: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/7.jpg)
2012
![Page 8: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/8.jpg)
Mesoamerican Long Count calendar
![Page 9: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/9.jpg)
"The beginning of a new era"
![Page 10: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/10.jpg)
HTML4 * 1000
HTML 4000
![Page 11: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/11.jpg)
must die!!!Not rea
lly
![Page 12: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/12.jpg)
What is HTML5?
![Page 13: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/13.jpg)
Semantics APIs
![Page 14: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/14.jpg)
The makeup of the Open Web stack
![Page 16: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/16.jpg)
HTML5 semantics
![Page 17: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/17.jpg)
![Page 18: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/18.jpg)
<!DOCTYPE html>
![Page 19: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/19.jpg)
![Page 20: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/20.jpg)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
![Page 21: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/21.jpg)
<meta charset="utf-8">
![Page 22: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/22.jpg)
<header>
<article>
<section>
<aside>
<footer>
<hgroup>
<nav>
<figure>
<figcaption>
![Page 24: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/24.jpg)
HTML5 Forms
![Page 25: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/25.jpg)
<input type="color">
<input type="date">
<input type="datetime">
<input type="datetime-local">
<input type="email">
<input type="month">
<input type="number">
<input type="range">
<input type="search" results="5" autosave="saved-searches">
<input type="tel">
<input type="time">
<input type="url">
<input type="week">
New form types
![Page 26: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/26.jpg)
![Page 27: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/27.jpg)
<input type="text" autocomplete="off">
<input type="text" autofocus>
<input type="submit" formaction="http://example.org/save" value="Save">
<input type="submit" formenctype="application/x-www-form-urlencoded" value="Save with enctype">
<input type="submit" formmethod="POST" value="Send as POST">
<input type="submit" formnovalidate value="Don't validate">
<input type="submit" formtarget="_blank" value="Post to new tab/window">
New form attributes
![Page 28: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/28.jpg)
<input type="text" list="data-list">
<input type="range" max="95">
<input type="range" min="2">
<input type="file" multiple>
<input type="text" readonly>
<input type="text" required>
<input type="text" pattern="[A-Z]*">
<input type="text" placeholder="E.g. Robocop">
<input type="text" spellcheck="true">
<input type="number" step="5">
![Page 29: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/29.jpg)
<input type="text" list="data-list">
<datalist id="data-list"> <option value="Hugo Reyes"> <option value="Jack Shephard"> <option value="James 'Sawyer' Ford"> <option value="John Locke"> <option value="Sayid Jarrah"></datalist>
New form elements
![Page 30: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/30.jpg)
<keygen></keygen>
<meter min="0" max="10" value="7"></meter>
<input type="range" id="range"><output for="range" id="output"></output>
<progress max="100" value="70">70%</progress>
![Page 31: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/31.jpg)
<input type="range" id="da-range"><output id="da-range-output"></output><script> (function () { var range = document.getElementById("da-range"), output = document.getElementById("da-range-output"); range.addEventListener("input", function () { output.value = this.value; }, false); })();</script>
![Page 32: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/32.jpg)
![Page 33: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/33.jpg)
http://www.quirksmode.org/html5/inputs.html
http://www.quirksmode.org/html5/inputs_mobile.html
http://wufoo.com/html5/
![Page 34: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/34.jpg)
Web Storage
![Page 35: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/35.jpg)
![Page 36: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/36.jpg)
sessionStorage.setItem("Charming", "Anthony Weiner");console.log(sessionStorage.getItem("Charming"));
![Page 37: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/37.jpg)
localStorage.setItem("Occupation", "Politician");
![Page 38: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/38.jpg)
var anthonyWeiner = { "Interest" : "Photography", "Social" : "Twitter"};
localStorage.setItem("anthonyWeiner", JSON.stringify(anthonyWeiner));
console.log(typeof JSON.parse(localStorage.getItem("anthonyWeiner")));
![Page 39: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/39.jpg)
IndexedDBWeb SQL
![Page 40: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/40.jpg)
History API
![Page 41: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/41.jpg)
window.history.pushState(state, title, url);
![Page 42: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/42.jpg)
var url = "http://robertnyman.com",title = "My blog",state = { address : url};
window.history.pushState(state, title, url);
![Page 43: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/43.jpg)
![Page 44: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/44.jpg)
Web Sockets
![Page 45: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/45.jpg)
What came before WebSockets?
Cross Frame Communication
HTTP Polling
LiveConnectForever Frame
AJAX
HTTP Long-Polling and XHR Streaming
![Page 46: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/46.jpg)
var ws = new WebSocket("ws://robertnyman.com/wsmagic");
// Send dataws.send("Some data");
// Close the connectionws.close();
![Page 47: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/47.jpg)
var ws = new WebSocket("ws://robertnyman.com/wsmagic");
// When connection is openedws.onopen = function () { console.log("Connection opened!");};
// When you receive a messagews.onmessage = function (evt) { console.log(evt.data);};
// When you close the connectionws.onclose = function () { console.log("Connection closed");};
// When an error occurred ws.onerror = function () { console.log("An error occurred");};
![Page 48: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/48.jpg)
web-socket-js
Socket.IO
![Page 49: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/49.jpg)
![Page 51: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/51.jpg)
<video controls src="nasa.webm"></video>
![Page 52: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/52.jpg)
<video controls> <source src="nasa.mp4"></source> <source src="nasa.webm"></source> <p>Hello, older web browser</p></video>
![Page 54: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/54.jpg)
<video src="http://vid.ly/4w2g7d?content=video" controls></video>
![Page 56: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/56.jpg)
![Page 60: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/60.jpg)
Canvas
![Page 61: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/61.jpg)
<canvas id="my-canvas" width="500" height="500"> I am canvas</canvas>
![Page 62: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/62.jpg)
var canvas = document.getElementById("my-canvas"), context = canvas.getContext("2d");
context.fillStyle = "#f00";context.fillRect(0, 0, 100, 100);
context.clearRect(40, 40, 20, 20);
![Page 65: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/65.jpg)
pdf.js
![Page 66: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/66.jpg)
WebGL
![Page 67: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/67.jpg)
http://code.google.com/p/webglsamples/
![Page 68: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/68.jpg)
![Page 70: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/70.jpg)
Questions
![Page 71: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/71.jpg)
Is it ready?
Will HTML5 be around?
![Page 72: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/72.jpg)
Is it ready?
![Page 73: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/73.jpg)
Is it ready?
![Page 75: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/75.jpg)
Will HTML5 be around?
![Page 76: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/76.jpg)
Will HTML5 be around?
![Page 77: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/77.jpg)
![Page 78: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/78.jpg)
![Page 79: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/79.jpg)
HTML5 -
The beauty of the Open Web
![Page 80: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/80.jpg)
![Page 81: HTML5 - The 2012 of the Web - Adobe MAX](https://reader033.fdocuments.in/reader033/viewer/2022051512/54001f888d7f724c088b4b0f/html5/thumbnails/81.jpg)
Robert [email protected]: @robertnyman
robertnyman.com/speaking/robertnyman.com/html5/robertnyman.com/css3/