SlideShare ist ein Scribd-Unternehmen logo
1 von 76
Downloaden Sie, um offline zu lesen
WE’RE SPENDING AN HOUR ON EXISTENTIALISM. HOPE YOU BROUGHT A SNACK.
MAT “WILTO” MARQUIS


twitter.com/ wilto
github.com/ wilto
dribbble.com/ wilto
mat@matmarquis.com
IF ANYONE MENTIONS THE MARQUEE TAG THEY WILL BE ASKED TO LEAVE.
•   New semantically-rich markup
•   New semantically-rich markup
•   Changes to the markup you know and love
•   New semantically-rich markup
•   Changes to the markup you know and love
•   APIs that can access device-specific features
•   New semantically-rich markup
•   Changes to the markup you know and love
•   APIs that can access device-specific features
•   APIs for caching and storing items in the browser
•   New semantically-rich markup
•   Changes to the markup you know and love
•   APIs that can access device-specific features
•   APIs for caching and storing items in the browser
•   CSS3
•   New semantically-rich markup
•   Changes to the markup you know and love
•   APIs that can access device-specific features
•   APIs for caching and storing items in the browser
•   CSS3
“ HTML5 DOES NOT INCLUDE
   JAVASCRIPT APIS, CSS3,
                               “
AMPERSANDS, OR CAT PICTURES!
SHOULDN’T YOU BE MAKING WEBSITES RIGHT NOW?
REMEMBER “CAPTAIN PLANET?” LIKE THAT, BUT WITHOUT THE MULLET.
EVERYTHING MAKES SENSE NOW.
SECTIONING ELEMENTS
•   header                <header>
•   nav                     <nav>
•   article
                  <article>
•   section
•   aside     <section>              <aside>
•   footer                 <aside>
              <section>

                          <footer>
SECTIONING ELEMENTS
•   header                                  <header>
•   nav                                       <nav>
•   article
                                   <article>
•   section
•   aside                   <section>                       <aside>
•   footer                                   <aside>
                            <section>

                                            <footer>

The header element represents a group of introductory or navigational aids.
SECTIONING ELEMENTS
•   header                                  <header>
•   nav                                       <nav>
•   article
                                   <article>
•   section
•   aside                   <section>                        <aside>
•   footer                                   <aside>
                            <section>

                                            <footer>

The nav element represents a section of a page that links to other pages
or to parts within the page: a section with navigation links.
SECTIONING ELEMENTS
•   header                                <header>
•   nav                                     <nav>
•   article
                                 <article>
•   section
•   aside                  <section>                      <aside>
•   footer                                 <aside>
                           <section>

                                          <footer>

The article element represents a self-contained document, page,
application, or widget which is fit for syndication.
SECTIONING ELEMENTS
•   header                                <header>
•   nav                                     <nav>
•   article
                                 <article>
•   section
•   aside                  <section>                      <aside>
•   footer                                 <aside>
                           <section>

                                          <footer>

The section element represents a thematic grouping of content.
SECTIONING ELEMENTS
•   header                                 <header>
•   nav                                      <nav>
•   article
                                  <article>
•   section
•   aside                   <section>                       <aside>
•   footer                                  <aside>
                            <section>

                                           <footer>

The aside element represents content that is related to the surrounding
document/article, but could be considered separate from that content.
SECTIONING ELEMENTS
•   header                                  <header>
•   nav                                       <nav>
•   article
                                  <article>
•   section
•   aside                   <section>                       <aside>
•   footer                                   <aside>
                            <section>

                                           <footer>

The footer element typically contains information about its section,
such as authors, links to related documents, copyright information, etc.
DOCUMENT OUTLINE
•untitled document
    • untitled header
        • untitled nav
   • untitled article
       • untitled section
       • untitled aside
       • untitled section
   • untitled aside
   • untitled footer
DOCUMENT OUTLINE
•untitled document
    • untitled header
        • untitled nav
   • untitled article
       • untitled section
       • untitled aside
       • untitled section
   • untitled aside
   • untitled footer
<article>
   <h1> Lorem ipsum dolor </h1>
  <section>
    <h1> Chapter One </h1>
    <h2> In the Beginning </h2>
    <p> ... </p>
    <h2> Meanwhile, Back at the Ranch </h2>
    <p> ... </p>
  </section>
  <aside>
    <blockquote> <p> ... </p> </blockquote>
  </aside>
  <section>
    <h1> Chapter Two </h1>
    <p> ... </p>
  </section>
</article>
<article>
   <h1> Lorem ipsum dolor </h1>
  <section>
    <h1> Chapter One </h1>
    <h2> In the Beginning </h2>
    <p> ... </p>
    <h2> Meanwhile, Back at the Ranch </h2>
    <p> ... </p>
  </section>
  <aside>
    <blockquote> <p> ... </p> </blockquote>
  </aside>
  <section>
    <h1> Chapter Two </h1>
    <p> ... </p>
  </section>
</article>
<article>
   <h1> Lorem ipsum dolor </h1>
  <section>
    <h1> Chapter One </h1>
    <h2> In the Beginning </h2>
    <p> ... </p>
    <h2> Meanwhile, Back at the Ranch </h2>
    <p> ... </p>
  </section>
  <aside>
    <blockquote> <p> ... </p> </blockquote>
  </aside>
  <section>
    <h1> Chapter Two </h1>
    <p> ... </p>
  </section>
</article>
<article>
   <h1> Lorem ipsum dolor </h1>
  <section>
    <h1> Chapter One </h1>
    <h2> In the Beginning </h2>
    <p> ... </p>
    <h2> Meanwhile, Back at the Ranch </h2>
    <p> ... </p>
  </section>
  <aside>
    <blockquote> <p> ... </p> </blockquote>
  </aside>
  <section>
    <h1> Chapter Two </h1>
    <p> ... </p>
  </section>
</article>
DOCUMENT OUTLINE
•untitled document
    • untitled header
        • untitled nav
   • Lorem Ipsum Dolor
       • Chapter One
           • In The Beginning
           • Meanwhile, Back at the Ranch
       • untitled aside
       • Chapter Two
   • untitled aside
   • untitled footer
DOCUMENT OUTLINE
 •untitled document
     • untitled header
         • untitled nav
HTML5 Outliner for Chrome
   • Lorem Ipsum Dolor
Generates a navigable page outline with heading and sectioning elements.
            • Chapter One
                 • In The Beginning
http://wil.to/html5/2 Back at the Ranch
           • Meanwhile,
            • untitled aside
            • Chapter Two
       • untitled aside
       • untitled footer
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.

•   progress
    Represents the completion progress of a task within a known range.
    <progress max="100">80%</meter> complete.
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.

•   progress
    Represents the completion progress of a task within a known range.
    <progress max="100">80%</meter> complete.

•   time
    Represents dates and times in a machine-readable way.
    On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>.
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.

•   progress
    Represents the completion progress of a task within a known range.
    <progress max="100">80%</meter> complete.

•   time
    Represents dates and times in a machine-readable way.
    On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>.

•   output
    Represents the result of a calculation.
    <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output>
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.

•   progress
    Represents the completion progress of a task within a known range.
    <progress max="100">80%</meter> complete.

•   time
    Represents dates and times in a machine-readable way.
    On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>.

•   output
    Represents the result of a calculation.
    <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output>


•   blink
    Is gone, and if I ever catch you using it again so help me, guys.
MORE NEW HOTNESS
•   meter
    Represents a scalar measurement within a known range, or a fractional value.
    <meter>2 of 6 gigabytes</meter> used.

•   progress
The HTML5 Spec progress of a task within a known range.
 Represents the completion for Web Developers
    <progress max="100">80%</meter> complete.
Formatted for readability and quick access to information.
•   time
 Represents dates and times in a machine-readable way.
http://developers.whatwg.org/ 2010, 2:55am EDT</time>.
 On <time datetime="2010-05-24T02:55:30-04:00">May 24th

•   output
    Represents the result of a calculation.
    <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output>


•   blink
    Is gone, and if I ever catch you using it again so help me, guys.
YOU KNEW IT WOULD COME UP EVENTUALLY
HTML5 Support in IE 6/7/8
Remy Sharp’s HTML5-enabling script for Internet Explorer.


http://wil.to/html5/3


          YOU KNEW IT WOULD COME UP EVENTUALLY
REPURPOSED ELEMENTS
<dl>, <dt>, and <dd>
An association list consisting of zero or more key-value groups.

<dl>
  <dt>Full Name:</dt>
  <dd>John Smith</dd>
  <dt>Occupation:</dt>
  <dd>Doctor</dd>
</dt>
REPURPOSED ELEMENTS
<b>
Text stylistically offset from the surrounding text without extra importance.

<b class="drop-cap">S</b>herlock Holmes, who was usually late…
REPURPOSED ELEMENTS
<small>
“Small print,” as in disclaimers, caveats, legal restrictions, or copyrights.

<small>Copyright Mat “Wilto” Marquis, 2010</small>
REPURPOSED ELEMENTS
<cite>
Represents the title of a work (a book, song, film, etc.)—but not a
person’s name.

<p>I don’t quite agree with the <cite>HTML5 spec</cite> here.</p>
REPURPOSED ELEMENTS
<address>
Contact information for the current article or document—not a postal
address.

<address>Posted by: <a href="http://twitter.com/wilto">Mat</a></address>
STOP ME IF YOU’VE HEARD OF THIS ONE
BORDER-RADIUS
BOX-SHADOW
NOT PARTICULARLY EXCITING
VENDOR PREFIXES
VENDOR PREFIXES
•   -webkit-
VENDOR PREFIXES
•   -webkit-
•   -moz-
VENDOR PREFIXES
•   -webkit-
•   -moz-
•   -o-
VENDOR PREFIXES
•   -webkit-
•   -moz-
•   -o-
•   -ms-
TRANSITIONS
a {
   color: #777;
   -webkit-transition: color .2s linear;
   -moz-transition: color .2s linear;
   -ms-transition: color .2s linear;
   -o-transition: color .2s linear;
   transition: color .2s linear;
}
a:hover {
   color: #bada55;
}
TRANSITIONS
a {
   color: #777;
   -webkit-transition: color .2s linear;
   -moz-transition: color .2s linear;
   -ms-transition: color .2s linear;
 Transition Demo .2s linear;
   -o-transition: color
   transition: color .2s linear;
}
a:hover {
 http://wil.to/html5/transitions
   color: #bada55;
}
GRADIENTS
background: -moz-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
   );
background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%,#1e5799),
      color-stop(100%,#7db9e8)
   );
background: -o-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
   );
GRADIENTS
background: #1e5799 url(img/gradient.jpg);
background: -moz-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
   );
background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%,#1e5799),
      color-stop(100%,#7db9e8)
   );
background: -o-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
   );
GRADIENTS
background: #1e5799 url(img/gradient.jpg);
background: -moz-linear-gradient(
       top,
       #1e5799 0%,
       #7db9e8 100%
 CSS3 Gradient Generator
    );
background: -webkit-gradient(
 A tool to generate the appropriate vendor-prefixed gradient syntax.
       linear,
       left top,
 http://wil.to/html5/6
       left bottom,
       color-stop(0%,#1e5799),
       color-stop(100%,#7db9e8)
    );
background: -o-linear-gradient(
       top,
       #1e5799 0%,
       #7db9e8 100%
    );
GRADIENTS
background: #1e5799 url(img/gradient.jpg);
background: -moz-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
 CSS3 Gradient Demo
   );
background: -webkit-gradient(
      linear,
      left top,
 http://wil.to/html5/gradients/
      left bottom,
      color-stop(0%,#1e5799),
      color-stop(100%,#7db9e8)
   );
background: -o-linear-gradient(
      top,
      #1e5799 0%,
      #7db9e8 100%
   );
FONT-FACE
@font-face {
   font-family: 'AllerBold';
   src: url('aller_bd-webfont.eot');
   src: url('aller_bd-webfont.eot?#iefix') format('embedded-
opentype'),
        url('aller_bd-webfont.woff') format('woff'),
        url('aller_bd-webfont.ttf') format('truetype'),
        url('aller_bd-webfont.svg#AllerBold') format('svg');
}
FONT-FACE
@font-face {
    font-family: 'AllerBold';
    src: url('aller_bd-webfont.eot');
    src: url('aller_bd-webfont.eot?#iefix') format('embedded-
opentype'),
 Font Squirrel
          url('aller_bd-webfont.woff') format('woff'),
          url('aller_bd-webfont.ttf') format('truetype'),
 A repository of free and @font-face licensed fonts, as well as a tool
          url('aller_bd-webfont.svg#AllerBold') format('svg');
 to generate the appropriate @font-face syntax.
}
http://www.fontsquirrel.com/
FONT-FACE
@font-face {
   font-family: 'AllerBold';
   src: url('aller_bd-webfont.eot');
   src: url('aller_bd-webfont.eot?#iefix') format('embedded-
opentype'),
 @font-face demo
        url('aller_bd-webfont.woff') format('woff'),
        url('aller_bd-webfont.ttf') format('truetype'),
        url('aller_bd-webfont.svg#AllerBold') format('svg');
}
http://wil.to/html5/font-face
GO-GO-GADGET: AWESOME.
GEOLOCATION
function geo( position ) {
  alert( 'Latitude: ' + position.coords.latitude );
  alert( 'Longitude: ' + position.coords.longitude );
}
navigator.geolocation.getCurrentPosition( geo );
GEOLOCATION
function geo( position ) {
  alert( 'Latitude: ' + position.coords.latitude );
  alert( 'Longitude: ' + position.coords.longitude );
}
navigator.geolocation.getCurrentPosition( geo );
Geolocation Demo
Waiting There Forever: My Bus Tracking App.


http://wtfmbta.com/
DEVICE ORIENTATION
function orientation( event ) {
   var rotation = event.gamma * -.8,
       scale = ( event.beta / 180 ) * 2.25 + 1;

  alert( 'Rotation: ' + rotation + ' Scale: ' + scale );
}
window.addEventListener('deviceorientation', orientation );
DEVICE ORIENTATION
function orientation( event ) {
   var rotation = event.gamma * -.8,
       scale = ( event.beta / 180 ) * 2.25 + 1;

  alert( 'Rotation: ' + rotation + ' Scale: ' + scale );
Device Orientation Demo
}
window.addEventListener('deviceorientation', orientation );


http://wil.to/html5/device-orientation
HAVE YOU GUYS EVER BEEN “OFFLINE?” IT’S SCARY.
LOCAL STORAGE
localStorage.setItem('variableName', true)

alert( localStorage.getItem('variableName') );
// It’s that easy.
LOCAL STORAGE
localStorage.setItem('variableName', true)

alert( localStorage.getItem('variableName') );
// It’s that easy.

Local Storage Demo
A to-do list app using the localStorage API.


http://wil.to/html5/local-storage
Modernizr
A library of tests to check for CSS3 and HTML5 API support on the client side.


http://www.modernizr.com/
Cross Browser Polyfills
Bringing HTML5 APIs to browsers that don't natively support them.


http://wil.to/html5/4
YOU MAY NOW ADD “HTML5 GURU” TO YOUR RESUME.
RESOURCES




http://wil.to/html5
http://developers.whatwg.org
pester me on the internet (@wilto)

Weitere ähnliche Inhalte

Andere mochten auch

Universal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityUniversal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityHarvard Web Working Group
 
Activites feb 2012 bb
Activites  feb 2012 bbActivites  feb 2012 bb
Activites feb 2012 bbvu2ogo
 
Adolfo Dominguez
Adolfo Dominguez Adolfo Dominguez
Adolfo Dominguez sellapoladian
 
Expo 4 historia econĂłmica
Expo 4 historia econĂłmica Expo 4 historia econĂłmica
Expo 4 historia econĂłmica Arturo R
 
PRESENTACIONES DIGITALES . . .!
PRESENTACIONES DIGITALES . . .!PRESENTACIONES DIGITALES . . .!
PRESENTACIONES DIGITALES . . .!vanesitha44
 
Redes sociales
Redes socialesRedes sociales
Redes socialesamigojose
 
El personalismo solidario de Juan Pablo II (1)
El personalismo solidario de Juan Pablo II (1)El personalismo solidario de Juan Pablo II (1)
El personalismo solidario de Juan Pablo II (1)Sofi Destefani
 

Andere mochten auch (18)

Ui Testing with Ghost Inspector
Ui Testing with Ghost InspectorUi Testing with Ghost Inspector
Ui Testing with Ghost Inspector
 
Universal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversityUniversal Design for Learning: A framework for addressing learner diversity
Universal Design for Learning: A framework for addressing learner diversity
 
Intro to ReactJS
Intro to ReactJSIntro to ReactJS
Intro to ReactJS
 
Activites feb 2012 bb
Activites  feb 2012 bbActivites  feb 2012 bb
Activites feb 2012 bb
 
Jogos2
Jogos2Jogos2
Jogos2
 
WINDOS 98
WINDOS 98WINDOS 98
WINDOS 98
 
Tema 3
Tema 3Tema 3
Tema 3
 
Adolfo Dominguez
Adolfo Dominguez Adolfo Dominguez
Adolfo Dominguez
 
Expo 4 historia econĂłmica
Expo 4 historia econĂłmica Expo 4 historia econĂłmica
Expo 4 historia econĂłmica
 
PRESENTACIONES DIGITALES . . .!
PRESENTACIONES DIGITALES . . .!PRESENTACIONES DIGITALES . . .!
PRESENTACIONES DIGITALES . . .!
 
Power poin mis tesoritos
Power poin mis tesoritosPower poin mis tesoritos
Power poin mis tesoritos
 
Redes sociales
Redes socialesRedes sociales
Redes sociales
 
Gissel rodriguez
Gissel rodriguezGissel rodriguez
Gissel rodriguez
 
Tutorial
TutorialTutorial
Tutorial
 
Economia cap 1 3
Economia cap 1 3Economia cap 1 3
Economia cap 1 3
 
El personalismo solidario de Juan Pablo II (1)
El personalismo solidario de Juan Pablo II (1)El personalismo solidario de Juan Pablo II (1)
El personalismo solidario de Juan Pablo II (1)
 
Habilidades tècnicas
Habilidades tècnicas Habilidades tècnicas
Habilidades tècnicas
 
Cibercultura e Educação
Cibercultura e EducaçãoCibercultura e Educação
Cibercultura e Educação
 

Ähnlich wie A Practical Guide to HTML5

2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
What is HTML5?
What is HTML5?What is HTML5?
What is HTML5?Anas AbuDayah
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)François Massart
 
WAI-ARIA is More Than Accessibility
WAI-ARIA is More Than AccessibilityWAI-ARIA is More Than Accessibility
WAI-ARIA is More Than Accessibility偉格 高
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bagstuplum
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standardsJustin Avery
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateInventis Web Architects
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 FundamentalLanh Le
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Terry Ryan
 
HTML5: It goes to ELEVEN
HTML5: It goes to ELEVENHTML5: It goes to ELEVEN
HTML5: It goes to ELEVENMathias Bynens
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introductionDiego Scataglini
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction Diego Scataglini
 
Be nice to your designers
Be nice to your designersBe nice to your designers
Be nice to your designersPai-Cheng Tao
 
Html5 public
Html5 publicHtml5 public
Html5 publicdoodlemoonch
 
Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5Terry Ryan
 

Ähnlich wie A Practical Guide to HTML5 (20)

2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
What is HTML5?
What is HTML5?What is HTML5?
What is HTML5?
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
WAI-ARIA is More Than Accessibility
WAI-ARIA is More Than AccessibilityWAI-ARIA is More Than Accessibility
WAI-ARIA is More Than Accessibility
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
Darwin web standards
Darwin web standardsDarwin web standards
Darwin web standards
 
Fronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-templateFronttechnieken met HTML5 en de Slice-template
Fronttechnieken met HTML5 en de Slice-template
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
HTML5: It goes to ELEVEN
HTML5: It goes to ELEVENHTML5: It goes to ELEVEN
HTML5: It goes to ELEVEN
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
 
Be nice to your designers
Be nice to your designersBe nice to your designers
Be nice to your designers
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5
 
Html5
Html5Html5
Html5
 

Mehr von Harvard Web Working Group

Perception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchPerception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchHarvard Web Working Group
 
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...Harvard Web Working Group
 
The Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersThe Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersHarvard Web Working Group
 
Tania Schlatter – Visual Usability
Tania Schlatter – Visual UsabilityTania Schlatter – Visual Usability
Tania Schlatter – Visual UsabilityHarvard Web Working Group
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebHarvard Web Working Group
 
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Harvard Web Working Group
 
Will my helicopter fit in your garage?
Will my helicopter fit in your garage?Will my helicopter fit in your garage?
Will my helicopter fit in your garage?Harvard Web Working Group
 
Tastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierTastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierHarvard Web Working Group
 
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeDjango in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeHarvard Web Working Group
 
The Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu RedesignThe Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu RedesignHarvard Web Working Group
 
Reboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduReboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduHarvard Web Working Group
 

Mehr von Harvard Web Working Group (20)

The Internet of Things (IoT)
The Internet of Things (IoT)The Internet of Things (IoT)
The Internet of Things (IoT)
 
Perception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User ResearchPerception is Reality: Lessons Learned from User Research
Perception is Reality: Lessons Learned from User Research
 
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
5 Steps to (Remote) Team Bliss: How to Build Thriving, High-Performing (Remot...
 
Starting out with MongoDB
Starting out with MongoDBStarting out with MongoDB
Starting out with MongoDB
 
The Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project ManagersThe Process of Communication, A Practical Guide for Project Managers
The Process of Communication, A Practical Guide for Project Managers
 
Tania Schlatter – Visual Usability
Tania Schlatter – Visual UsabilityTania Schlatter – Visual Usability
Tania Schlatter – Visual Usability
 
Responsive Design: Building for a Modern Web
Responsive Design: Building for a Modern WebResponsive Design: Building for a Modern Web
Responsive Design: Building for a Modern Web
 
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
Demystifying UX – A toolkit approach to better, cheaper & faster experience d...
 
Will my helicopter fit in your garage?
Will my helicopter fit in your garage?Will my helicopter fit in your garage?
Will my helicopter fit in your garage?
 
Every Screen is a Touchscreen
Every Screen is a TouchscreenEvery Screen is a Touchscreen
Every Screen is a Touchscreen
 
Tastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work EasierTastypie: Easy APIs to Make Your Work Easier
Tastypie: Easy APIs to Make Your Work Easier
 
Open Scholar
Open ScholarOpen Scholar
Open Scholar
 
Jumpstart Your Web App
Jumpstart Your Web AppJumpstart Your Web App
Jumpstart Your Web App
 
Draw More, Talk Less
Draw More, Talk LessDraw More, Talk Less
Draw More, Talk Less
 
Mat Marquis - JQuery Mobile
Mat Marquis - JQuery MobileMat Marquis - JQuery Mobile
Mat Marquis - JQuery Mobile
 
Curating the Open Web with Zeega
Curating the Open Web with ZeegaCurating the Open Web with Zeega
Curating the Open Web with Zeega
 
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for FreeDjango in the Office: Get Your Admin for Nothing and Your SQL for Free
Django in the Office: Get Your Admin for Nothing and Your SQL for Free
 
Accessibility by Mat Marquis
Accessibility by Mat MarquisAccessibility by Mat Marquis
Accessibility by Mat Marquis
 
The Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu RedesignThe Technical Side of Harvard.edu Redesign
The Technical Side of Harvard.edu Redesign
 
Reboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.eduReboot: Developing a Drupal Solution for Harvard.edu
Reboot: Developing a Drupal Solution for Harvard.edu
 

KĂźrzlich hochgeladen

Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdshivubhavv
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...Delhi Call girls
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Delhi Call girls
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...Delhi Call girls
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja Nehwal
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxjeswinjees
 

KĂźrzlich hochgeladen (20)

Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
 
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Vasundhra (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
 

A Practical Guide to HTML5

  • 1.
  • 2. WE’RE SPENDING AN HOUR ON EXISTENTIALISM. HOPE YOU BROUGHT A SNACK.
  • 3. MAT “WILTO” MARQUIS twitter.com/ wilto github.com/ wilto dribbble.com/ wilto mat@matmarquis.com
  • 4. IF ANYONE MENTIONS THE MARQUEE TAG THEY WILL BE ASKED TO LEAVE.
  • 5. • New semantically-rich markup
  • 6. • New semantically-rich markup • Changes to the markup you know and love
  • 7. • New semantically-rich markup • Changes to the markup you know and love • APIs that can access device-specific features
  • 8. • New semantically-rich markup • Changes to the markup you know and love • APIs that can access device-specific features • APIs for caching and storing items in the browser
  • 9. • New semantically-rich markup • Changes to the markup you know and love • APIs that can access device-specific features • APIs for caching and storing items in the browser • CSS3
  • 10. • New semantically-rich markup • Changes to the markup you know and love • APIs that can access device-specific features • APIs for caching and storing items in the browser • CSS3
  • 11. “ HTML5 DOES NOT INCLUDE JAVASCRIPT APIS, CSS3, “ AMPERSANDS, OR CAT PICTURES!
  • 12. SHOULDN’T YOU BE MAKING WEBSITES RIGHT NOW?
  • 13. REMEMBER “CAPTAIN PLANET?” LIKE THAT, BUT WITHOUT THE MULLET.
  • 15. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer>
  • 16. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The header element represents a group of introductory or navigational aids.
  • 17. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links.
  • 18. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The article element represents a self-contained document, page, application, or widget which is fit for syndication.
  • 19. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The section element represents a thematic grouping of content.
  • 20. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The aside element represents content that is related to the surrounding document/article, but could be considered separate from that content.
  • 21. SECTIONING ELEMENTS • header <header> • nav <nav> • article <article> • section • aside <section> <aside> • footer <aside> <section> <footer> The footer element typically contains information about its section, such as authors, links to related documents, copyright information, etc.
  • 22. DOCUMENT OUTLINE •untitled document • untitled header • untitled nav • untitled article • untitled section • untitled aside • untitled section • untitled aside • untitled footer
  • 23. DOCUMENT OUTLINE •untitled document • untitled header • untitled nav • untitled article • untitled section • untitled aside • untitled section • untitled aside • untitled footer
  • 24. <article> <h1> Lorem ipsum dolor </h1> <section> <h1> Chapter One </h1> <h2> In the Beginning </h2> <p> ... </p> <h2> Meanwhile, Back at the Ranch </h2> <p> ... </p> </section> <aside> <blockquote> <p> ... </p> </blockquote> </aside> <section> <h1> Chapter Two </h1> <p> ... </p> </section> </article>
  • 25. <article> <h1> Lorem ipsum dolor </h1> <section> <h1> Chapter One </h1> <h2> In the Beginning </h2> <p> ... </p> <h2> Meanwhile, Back at the Ranch </h2> <p> ... </p> </section> <aside> <blockquote> <p> ... </p> </blockquote> </aside> <section> <h1> Chapter Two </h1> <p> ... </p> </section> </article>
  • 26. <article> <h1> Lorem ipsum dolor </h1> <section> <h1> Chapter One </h1> <h2> In the Beginning </h2> <p> ... </p> <h2> Meanwhile, Back at the Ranch </h2> <p> ... </p> </section> <aside> <blockquote> <p> ... </p> </blockquote> </aside> <section> <h1> Chapter Two </h1> <p> ... </p> </section> </article>
  • 27. <article> <h1> Lorem ipsum dolor </h1> <section> <h1> Chapter One </h1> <h2> In the Beginning </h2> <p> ... </p> <h2> Meanwhile, Back at the Ranch </h2> <p> ... </p> </section> <aside> <blockquote> <p> ... </p> </blockquote> </aside> <section> <h1> Chapter Two </h1> <p> ... </p> </section> </article>
  • 28. DOCUMENT OUTLINE •untitled document • untitled header • untitled nav • Lorem Ipsum Dolor • Chapter One • In The Beginning • Meanwhile, Back at the Ranch • untitled aside • Chapter Two • untitled aside • untitled footer
  • 29. DOCUMENT OUTLINE •untitled document • untitled header • untitled nav HTML5 Outliner for Chrome • Lorem Ipsum Dolor Generates a navigable page outline with heading and sectioning elements. • Chapter One • In The Beginning http://wil.to/html5/2 Back at the Ranch • Meanwhile, • untitled aside • Chapter Two • untitled aside • untitled footer
  • 30. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used.
  • 31. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used. • progress Represents the completion progress of a task within a known range. <progress max="100">80%</meter> complete.
  • 32. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used. • progress Represents the completion progress of a task within a known range. <progress max="100">80%</meter> complete. • time Represents dates and times in a machine-readable way. On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>.
  • 33. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used. • progress Represents the completion progress of a task within a known range. <progress max="100">80%</meter> complete. • time Represents dates and times in a machine-readable way. On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>. • output Represents the result of a calculation. <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output>
  • 34. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used. • progress Represents the completion progress of a task within a known range. <progress max="100">80%</meter> complete. • time Represents dates and times in a machine-readable way. On <time datetime="2010-05-24T02:55:30-04:00">May 24th 2010, 2:55am EDT</time>. • output Represents the result of a calculation. <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output> • blink Is gone, and if I ever catch you using it again so help me, guys.
  • 35. MORE NEW HOTNESS • meter Represents a scalar measurement within a known range, or a fractional value. <meter>2 of 6 gigabytes</meter> used. • progress The HTML5 Spec progress of a task within a known range. Represents the completion for Web Developers <progress max="100">80%</meter> complete. Formatted for readability and quick access to information. • time Represents dates and times in a machine-readable way. http://developers.whatwg.org/ 2010, 2:55am EDT</time>. On <time datetime="2010-05-24T02:55:30-04:00">May 24th • output Represents the result of a calculation. <input type="number" value="2"/> + <input type="number" value="2"/> = <output>4</output> • blink Is gone, and if I ever catch you using it again so help me, guys.
  • 36.
  • 37. YOU KNEW IT WOULD COME UP EVENTUALLY
  • 38. HTML5 Support in IE 6/7/8 Remy Sharp’s HTML5-enabling script for Internet Explorer. http://wil.to/html5/3 YOU KNEW IT WOULD COME UP EVENTUALLY
  • 39. REPURPOSED ELEMENTS <dl>, <dt>, and <dd> An association list consisting of zero or more key-value groups. <dl> <dt>Full Name:</dt> <dd>John Smith</dd> <dt>Occupation:</dt> <dd>Doctor</dd> </dt>
  • 40. REPURPOSED ELEMENTS <b> Text stylistically offset from the surrounding text without extra importance. <b class="drop-cap">S</b>herlock Holmes, who was usually late…
  • 41. REPURPOSED ELEMENTS <small> “Small print,” as in disclaimers, caveats, legal restrictions, or copyrights. <small>Copyright Mat “Wilto” Marquis, 2010</small>
  • 42. REPURPOSED ELEMENTS <cite> Represents the title of a work (a book, song, film, etc.)—but not a person’s name. <p>I don’t quite agree with the <cite>HTML5 spec</cite> here.</p>
  • 43. REPURPOSED ELEMENTS <address> Contact information for the current article or document—not a postal address. <address>Posted by: <a href="http://twitter.com/wilto">Mat</a></address>
  • 44. STOP ME IF YOU’VE HEARD OF THIS ONE
  • 45.
  • 51. VENDOR PREFIXES • -webkit- • -moz-
  • 52. VENDOR PREFIXES • -webkit- • -moz- • -o-
  • 53. VENDOR PREFIXES • -webkit- • -moz- • -o- • -ms-
  • 54. TRANSITIONS a { color: #777; -webkit-transition: color .2s linear; -moz-transition: color .2s linear; -ms-transition: color .2s linear; -o-transition: color .2s linear; transition: color .2s linear; } a:hover { color: #bada55; }
  • 55. TRANSITIONS a { color: #777; -webkit-transition: color .2s linear; -moz-transition: color .2s linear; -ms-transition: color .2s linear; Transition Demo .2s linear; -o-transition: color transition: color .2s linear; } a:hover { http://wil.to/html5/transitions color: #bada55; }
  • 56. GRADIENTS background: -moz-linear-gradient( top, #1e5799 0%, #7db9e8 100% ); background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8) ); background: -o-linear-gradient( top, #1e5799 0%, #7db9e8 100% );
  • 57. GRADIENTS background: #1e5799 url(img/gradient.jpg); background: -moz-linear-gradient( top, #1e5799 0%, #7db9e8 100% ); background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8) ); background: -o-linear-gradient( top, #1e5799 0%, #7db9e8 100% );
  • 58. GRADIENTS background: #1e5799 url(img/gradient.jpg); background: -moz-linear-gradient( top, #1e5799 0%, #7db9e8 100% CSS3 Gradient Generator ); background: -webkit-gradient( A tool to generate the appropriate vendor-prefixed gradient syntax. linear, left top, http://wil.to/html5/6 left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8) ); background: -o-linear-gradient( top, #1e5799 0%, #7db9e8 100% );
  • 59. GRADIENTS background: #1e5799 url(img/gradient.jpg); background: -moz-linear-gradient( top, #1e5799 0%, #7db9e8 100% CSS3 Gradient Demo ); background: -webkit-gradient( linear, left top, http://wil.to/html5/gradients/ left bottom, color-stop(0%,#1e5799), color-stop(100%,#7db9e8) ); background: -o-linear-gradient( top, #1e5799 0%, #7db9e8 100% );
  • 60. FONT-FACE @font-face { font-family: 'AllerBold'; src: url('aller_bd-webfont.eot'); src: url('aller_bd-webfont.eot?#iefix') format('embedded- opentype'), url('aller_bd-webfont.woff') format('woff'), url('aller_bd-webfont.ttf') format('truetype'), url('aller_bd-webfont.svg#AllerBold') format('svg'); }
  • 61. FONT-FACE @font-face { font-family: 'AllerBold'; src: url('aller_bd-webfont.eot'); src: url('aller_bd-webfont.eot?#iefix') format('embedded- opentype'), Font Squirrel url('aller_bd-webfont.woff') format('woff'), url('aller_bd-webfont.ttf') format('truetype'), A repository of free and @font-face licensed fonts, as well as a tool url('aller_bd-webfont.svg#AllerBold') format('svg'); to generate the appropriate @font-face syntax. } http://www.fontsquirrel.com/
  • 62. FONT-FACE @font-face { font-family: 'AllerBold'; src: url('aller_bd-webfont.eot'); src: url('aller_bd-webfont.eot?#iefix') format('embedded- opentype'), @font-face demo url('aller_bd-webfont.woff') format('woff'), url('aller_bd-webfont.ttf') format('truetype'), url('aller_bd-webfont.svg#AllerBold') format('svg'); } http://wil.to/html5/font-face
  • 64. GEOLOCATION function geo( position ) { alert( 'Latitude: ' + position.coords.latitude ); alert( 'Longitude: ' + position.coords.longitude ); } navigator.geolocation.getCurrentPosition( geo );
  • 65. GEOLOCATION function geo( position ) { alert( 'Latitude: ' + position.coords.latitude ); alert( 'Longitude: ' + position.coords.longitude ); } navigator.geolocation.getCurrentPosition( geo ); Geolocation Demo Waiting There Forever: My Bus Tracking App. http://wtfmbta.com/
  • 66. DEVICE ORIENTATION function orientation( event ) { var rotation = event.gamma * -.8, scale = ( event.beta / 180 ) * 2.25 + 1; alert( 'Rotation: ' + rotation + ' Scale: ' + scale ); } window.addEventListener('deviceorientation', orientation );
  • 67. DEVICE ORIENTATION function orientation( event ) { var rotation = event.gamma * -.8, scale = ( event.beta / 180 ) * 2.25 + 1; alert( 'Rotation: ' + rotation + ' Scale: ' + scale ); Device Orientation Demo } window.addEventListener('deviceorientation', orientation ); http://wil.to/html5/device-orientation
  • 68. HAVE YOU GUYS EVER BEEN “OFFLINE?” IT’S SCARY.
  • 69. LOCAL STORAGE localStorage.setItem('variableName', true) alert( localStorage.getItem('variableName') ); // It’s that easy.
  • 70. LOCAL STORAGE localStorage.setItem('variableName', true) alert( localStorage.getItem('variableName') ); // It’s that easy. Local Storage Demo A to-do list app using the localStorage API. http://wil.to/html5/local-storage
  • 71.
  • 72. Modernizr A library of tests to check for CSS3 and HTML5 API support on the client side. http://www.modernizr.com/
  • 73.
  • 74. Cross Browser Polyfills Bringing HTML5 APIs to browsers that don't natively support them. http://wil.to/html5/4
  • 75. YOU MAY NOW ADD “HTML5 GURU” TO YOUR RESUME.