22
HTML 5 WTF?

WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side elements ML ML5 ... type

  • Upload
    ngoliem

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

HTML5

WTF?

Page 2: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

html timeline

1980 1989 1996 1997 19992000 2008

ENQUIRE

HTML

HTML2.0

HTML3.2HTML4

HTML4.01

ISO/IEC 15445:2000

HTML5working draft

Page 3: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

xhtml timeline

2000 2008

XHTML1.0

XHTML5alongside HTML5

XHTML1.1

XHTML2

HTML4.01

Page 4: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

FINISHEDin

2O22WTF?

Page 5: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

compatibility

Opera, Chrome, Safari & Firefox

♥<TODAY>

HTML5

Page 6: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

internet explorer

DEADEND <javascript> to the rescue!

IE does not ♥ HTML5

nor do i

says Firefox2

Page 7: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

html5 minified

no body?

<!DOCTYPE html><title>HTML 5</title><p>Hello world</p>

i ♥ validator

no head?

Page 8: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

looksthe

Page 9: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

old

<div id=”header”>

<div id=”footer”>

<div id=”sidebar”>

<div id=”nav”>

<div class=”section”>

<div class=”article”>

Page 10: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

new

<header>

<footer>

<aside>

<nav>

<section>

<article>

Page 11: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

<tagsoup>

Page 12: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

side by side

</close> elements

XH

TM

LH

TM

L5

always use “quotes”

lowercase <tags>

no empty attributes YOUCHOOSE

Page 13: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

bye bye

<acronym><basefont>

<big>

<center> <font>

<s><strike>

<tt>

<u>

cellpadding

cellspacing

width

height

valign

sizeclear

attributes

element

Page 14: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

hello

<nav>web forms

2.0<header>

<footer>

<aside><article>

<section><time>

type

requiredvalidation

emailurldatetimecolor picker

min / max

oninvalid

<mark><meter>

<video>

<canvas>

autocomplete

contenteditable

Page 15: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

<video & audio>

Page 16: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

<video>

<video src=”x.mp4” controls autobuffer>for those who can’t see this movie

</video> lookno flash

styleable

Page 17: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

<examples>

youtube.com/html5

9elements.com/io/projects/html5/canvas

audio &canvas

video

Page 18: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

drag & drop

Page 19: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

web workers

threaded <javascript>non blocking UI

Page 20: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

geolocation

ask the user’s locationsee Google Maps

like theiPhone

Page 21: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

web apps

<vs>

desktop apps

offline storage

Gmail

closingthe gap

Page 22: WTF? HTML 5 - quanglinhblog.files.wordpress.com · html5 minified no body? ... < tag soup> side by side  elements ML ML5 ...   type

</thanks>

simon schoeters • @cimm • www.suffix.betheme based on m. jackson wilikinson’s presentation at http://i5.be/W5