SlideShare a Scribd company logo
1 of 107
Introduction to
HTML5
Who Are You?
What is
“HTML5”?
“HTML5” is an
marketing term
that companies
   use to mean
  “cool shit that
   works on an
“HTML5”
•   HTML5
•   CSS 3
•   JavaScript
•   CSS 2
•   JavaScript Frameworks
•   Canvas (Actually part of HTML5)
•   Video tag (Actually part of HTML5)
•   Anything the speaker wants it to mean
What is HTML5?
We’ll come back
  to that in a
    second.
Review
What is HTML?
HTML is a
language that
   provides
  structure to
    content
Start with Content
whichElement?
Trying to answer that age
old question:
Should that be a div, a
span, or something else?

Home
Contribute
About

One of the main challenges
we see in building semantic
content is picking what tag
to use when.
Add Structure
<h1>whichElement?</h1>
<h2>Trying to answer that age old
question:</h2>
<h2>Should that be a div, a span, or
something else?</h2>

<ul>
<li>Home</li>
<li>Contribute</li>
<li>About</li>
</ul>

<p>One of the main challenges we see
in building semantic content is
picking what tag to use when. This
site seeks to help with that. Now,
before we get all judgy and preachy
let me get a few tenants out
there:</p>
What is CSS?
CSS is a
 language that
    provides
style to content
Add Style
<h1>whichElement?</h1>
<style type="text/css">
<h2>Trying to answer that age old
     h1{
question:</h2>
<h2>Should that red;a div, a span, or
         color: be
something else?</h2>
     }
    h2{
<ul>     color: blue;
<li>Home</li>
         font-style: italic;
<li>Contribute</li>
     }
<li>About</li>
</ul>
    p{
<p>One ofcolor:main challenges we see
           the white;
in building semantic content is
          background-color: black;
picking what tag to use when. This
site }seeks to help with that. Now,
before we get all judgy and preachy
let me get a few tenants out
</style>
there:</p>
HTML/CSS
  results in
separation of
content from
   display
Why?
Why separate content and
display?
• Helps SEO
• Makes work more portable or changeable
• Allows for multiple ways of display
Change Style
<style type="text/css">
<style type="text/css">
      h1{
      h1{ color: red;
            font-size: 16px;
            color: red;
      }
      }
      h2{
      h2{ color: blue;
            font-size: 26px;
      }     color: blue;
     ul{
           font-style: italic;
     }     list-style: none;
           clear: both;
           display: block;
     p{    width: 100%;
           height: 30px;
           color: 0;
           padding: white;
           background-color: black;
     }
     }
     li{
           float: left;
           padding-right: 20px;
</style>
     }

</style>
What is
JavaScript?
JavaScript is a
language that
   provides
  behavior to
   content
Behavior
<html>
<head>

<script type="text/javascript">
    function createAlertMessage(){
    alert("Stop what you're doing!");
    }
</script>

</head>
<body>
<button onclick="createAlertMessage()">
Alert!
</button>


</body>
</html>
Content
Structure
  Style
Behavior
Content - Database
 Structure - HTML
    Style - CSS
    Behavior -
    JavaScript
Content - HTML
Structure - HTML
   Style - CSS
   Behavior -
   JavaScript
What is HTML5?
The 5 thand most
  recent public
specification for
 HTML from the
 public groups
     that….
The 5 thand most
  recent public
specification for
 HTML from the
 public groups
     that….
The most recent
specification for
    HTML
The most
     recent*
 specification**
  for HTML***
   * It’s not technically the most recent
 ** It’s actually a standard
*** While we’re at it, there is no HTML5 only HTML
This is why pragmatic people hate standards bodies sometimes
New in HTML5
• New semantic elements
  – article, section, aside, header, footer, etc
• New multimedia elements
  – audio, video, canvas
• New API’s for manipulation in JavaScript
  – Offline data, drag and drop, web storage
What is CSS3?
A series of
recommendation
  s modules to
  the standards
  committees…
Can’t we just
 say “The latest
official version of
      CSS?”
It’s not official.
It’s not the
   latest.
It’s not a
version.
Let’s just say
  “HMTL5” for
everything? Ok?
What can you
  do with
 “HTML5”?
SEMANTICS
Semantic HTML
     means your
 markup describes
it’s content without
     presenting it
What do we mean by Semantic
HTML
• HTML where proper elements are used
  – <p> denotes paragraph
  – <ul> denotes an list of items, where the order is not
    important
  – <address> contains address information
  – <div> and <span> are used to describe information
• HTML where extraneous elements are not
  misused
  – No <p> for line breaking
  – No <blockquote> for indentation
  – No <h1> for big text
• HTML without presentation information
  – No <font>, <b>, <i> tags
  – No inline styles
Semantic HTML is a moving
 target
• Not Boolean
• Not always objective
• A continuum
Semantic HTML
RELATIVELY UNSEMANTIC                                RELATIVELY SEMANTIC
<body background="css/bg.png">

<font face="Calibri”><center>                        <body>
<table width="800" bgcolor="#FFFFFF" border="10"
bordercolor="#FFFFFF">

<tr><td>
                                                     <div id="header">
<table width="100%" bgcolor="#f0f0f0" border="0“>

<tr>
                                                     <h1>The Awesome Blog of
<td><h1>                                             Awesome</h1>
<font face="Palatino Linotype">The Awesome Blog of
Awesome</font>
                                                     <p class="tagline">
</h1>

</td>                                                Awesome is a State of
</tr>

<tr>
                                                     Mind
<td align="right"><p><i>Awesome is a State of
Mind</i></p></td>                                    </p>
</tr>

</table>                                             </div>
HTML5?


         What does this
         have to do with
         HTML5?
HTML5 adds more
semantics
<body>
    <header>
           <h1>The Awesome Blog of Awesome</h1>
           <p>Awesome is a State of Mind</p>
   </header>
   <nav>
     <ul>
           <li><a href="">Home</a></li>
           <li><a href="">Blog</a></li>
           <li><a href="">About</a></li>
           <li><a href="">Contact</a></li>
       </ul>
   </nav>
Outlines
• Outlines seem really important to the
  people who push semantic HTML 5
• Are they really important?
  – Today: No
  – Tomorrow: Who knows?
• But this is a semantically correct way of
  reducing classes and extraneous divs
Header
Header
PREVIOUSLY
<div id="header">
  <h1>The Awesome Blog of Awesome</h1>
   <p class="tagline">Awesome is a State of Mind</p>
</div>

HTML 5
<header>
  <h1>The Awesome Blog of Awesome</h1>
  <h2>Awesome is a State of Mind</h2>
</header>
Footer
Footer
PREVIOUSLY
<div id="footer”>
  <p>Copyright 2011 - Terry Ryan</p>
</div>
HTML 5
<footer>
    <p>Copyright 2011 - Terry
Ryan</p>
</footer>
Navigation
Navigation
PREVIOUSLY                           HTML 5

<div id="nav">
                                     <nav>
 <ul>
                                     <ul>
   <li><a href="">Home</a></li>
                                        <li><a href="">Home</a></li>
   <li><a href="">Blog</a></li>
                                        <li><a href="">Blog</a></li>
   <li><a href="">About</a></li>
                                        <li><a href="">About</a></li>
   <li><a href="">Contact</a></li>
                                        <li><a href="">Contact</a></li>
 </ul>
                                      </ul>
</div>
                                     </nav>
Articles
Articles
PREVIOUSLY                                       HTML5

<div class="post”>
                                                 <article>
<div class="postheader">
                                                 <header>
 <h3><a href="">I Scream My Thoughts</a></h3>
                                                  <h1><a href="">I Scream My Thoughts</a></h1>
 <p class="date">August 10, 2011</p>
                                                  <time>August 10, 2011</time>
</div>
                                                 </header>
<p>You probably haven't heard of them duis</p>
                                                 <p>You probably haven't heard of them duis </p>
</div>
                                                 </article>
An article is a
piece of content
    that can
stand on it’s own
Content




          57
Content
PREVIOUSLY              HTML5

<div class=”content”>
                        <div class=”content”>
<div class="post”>
                        <article>
...
                        ...
</div>
                        </article>
<div class="post”>
                        <article>
...
                        ...
</div>
                        </article>
<div class="post”>
                        <article>
...
                        ...
</div>
                        <article>
</div>
                        </div>
Also can be correct
PREVIOUSLY              HTML5

<div class=”content”>
                        <section class=”content”>
<div class="post”>
                        <article>
...
                        ...
</div>
                        </article>
<div class="post”>
                        <article>
...
                        ...
</div>
                        </article>
<div class="post”>
                        <article>
...
                        ...
</div>
                        <article>
</div>
                        </section>
Umm


      That’s great, but
      frankly not that
      much of a different,
      how is that better?
Benefit 1
BEFORE THESE ELEMENTS   AFTER

  </div>                  </div>
 </div>                  </article>
</div>                  </div>
<div id=“footer”>       <footer>
</div>                  </footer>
</body>                 </body>
Benefit 2
• Less monkeying with content hierarchies
<article>
 <header>
  <h1><a href="">I Made a Post Thingie</a></h1>
                                                            article header h1
  <time datetime="2011-09-02">September 2, 2011</time>
 </header>
 <img src="img/captain-awesome.jpg" width="300" height="200" alt="Image of Captain Awesome" />
 <p>DIY ea nulla photo booth tempor occaecat, velit nihil mixtape scenester.
 Irony laboris echo park, wolf officia vice cupidatat labore butcher freegan
 farm-to-table nisi velit aliqua gluten-free. Aliquip nesciunt assumenda,
 wayfarers seitan wolf reprehenderit nulla twee sartorial dolore food truck
 voluptate ex vinyl. Aliquip ex enim, irony terry richardson trust fund consectetur
 fap pariatur dolor. Lo-fi nulla whatever mlkshk, banksy american apparel carles
 adipisicing incididunt wolf photo booth hipster. Wayfarers four loko ex cosby sweater,
 adipisicing sartorial non cardigan craft beer cillum reprehenderit terry richardson
 3 wolf moon mollit. Ethical ut labore beard, 3 wolf moon duis readymade assumenda
 hipster tofu mcsweeney's master cleanse.</p>
</article>
Benefit 3
• No longer bound to one header or one nav
  can have multiple.
New elements
 work across
   modern
  browsers
 without fail
What’s
  you’re
definition of
 Modern?
Use the HTML 5
Shiv
  http://code.google.com/p/html5shiv/
FORM
HTML5 includes
        lots of
      new <input>
         types
69
They aren’t
     supported
      on every
      browser
70
All browsers
     default to
     showing
     unknown input
     types as text
71
Search
<input type=“search” name=“search” />
• Support is spotty
• Browser vendors tend to
  round, add magnifying
  glass, etc.
Email
<input type=“email” name=“email” />
• Provides validation
• Provides email keyboard on iOS devices.
Url
<input type=“url” name=“url” />
Provides validation
Provides url keyboard on iOS devices.
Number
<input type=“number” name=“cost” />
Provides keypad on iOS and
Android devices.
Provides a stepper on desktops
Takes attributes:
  – Min/Max
  – Step
Tel
<input type=“tel” name=“cell” />
• Provides keypad on iOS
  and Android devices.
Not well
supported,
 but have
 potential
Range
<input type=“range” name=“volume” />
•   Provides a set of values
•   The slider allows you to pick one
•   Not terribly precise
•   Takes attributes:
    • Min/Max
    • Step
Date
<input type=“date” name=“dob” />
•   Provides validation
•   On Opera
     •   Displays a data picker
•   On Safari/Chrome
     •   Displays ticker
•   IE
     •   Dashes your hopes and dreams the way only IE can
FOR
Output
<output />
Semantically correct placeholder for
calculated values.
Can also be used a label for input
type=“slider”
Output in Action
<form class="order">
   <label for="quantity">Quantity:</label>
   <input id="quantity" name="quantity" type="number" value="1" onChange="calc()" />
   <br />
   <label for="price">Price: </label>
   <input id="price" name="price" type="number" value="19.99" disabled />
   <br />
   <label for="total">Total: </label>
  <output id="total" name="total"                />
   <br />
</form>



<script type="application/javascript">
function calc(){
     var quantity = document.getElementById("quantity").value;
     var price = document.getElementById("price").value;
     var total = document.getElementById("total");
     total.value = Math.round(quantity * price * 100)/100;
}
</script>
meter
<meter min=“0” max=“20” value=“12”>12cm</meter>
Basically a Bar Chart of results
progress
<progress min=“100” value=“20”>20%</progress>
Could be used to indicate progress through
a multistep form
Could be programmatically changed to
indicate progress of program
For Future Reference
• HTML 5 General
  – http://diveintohtml5.org
  – http://html5doctor.com
• HTML5 Semantics
  – http://diveintohtml5.org/semantics.html
• HTML 5 Forms
  – http://wufoo.com/html5
  – http://diveintohtml5.org/forms.html
MULTIMEDIA
Canvas
Canvas
• A drawing surface for
  – Manipulating images
  – Drawing
  – Saving Content
Demo
More resources for
Canvas
• http://www.html5rocks.com/en/tutorials/canvas/integrating/
• http://dev.opera.com/articles/view/html-5-canvas-the-basics/
• http://www.slideshare.net/bebraw/intro-to-html5-canvas-8312015
Video
<Image>
for movies
Audio
<image>
for sounds
Web Audio API
<canvas>
for sounds
OTHERS
Others
• Offline Storage
• Drag and Drop
CSS3
Remember
CSS3 is a series
 of modules…
CSS Modules
• Transforms
    – Origins
•   Shadows
•   Gradients
•   Transitions
•   Animations
Demo

       Various CSS
       Coolness
Why CSS3?
Reasons
• Hardware Accelerated
• Philosophically a display issue
• Hardware Accelerated
CONCLUSIONS
“HTML5” vs
  HTML5
Follow up?
• Preso will be up at
  – http://slideshare.net/tpryan
• Feel free to contact me
  – terry.ryan@adobe.com
  – http://terrenceryan.com
  – Twitter: @tpryan

More Related Content

What's hot

Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overviewJacob Nelson
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is nowGonzalo Cordero
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introductiondynamis
 
Basics of css and xhtml
Basics of css and xhtmlBasics of css and xhtml
Basics of css and xhtmlsagaroceanic11
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookScottperrone
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New FeaturesAta Ebrahimi
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5Jamshid Hashimi
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developersHernan Mammana
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & FriendsRemy Sharp
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examplesAlfredo Torre
 
HTML5 workshop, part 1
HTML5 workshop, part 1HTML5 workshop, part 1
HTML5 workshop, part 1Robert Nyman
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)François Massart
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]Aaron Gustafson
 

What's hot (20)

Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
2022 HTML5: The future is now
2022 HTML5: The future is now2022 HTML5: The future is now
2022 HTML5: The future is now
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Basics of css and xhtml
Basics of css and xhtmlBasics of css and xhtml
Basics of css and xhtml
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New Features
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & Friends
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
HTML5 workshop, part 1
HTML5 workshop, part 1HTML5 workshop, part 1
HTML5 workshop, part 1
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
Html 5
Html 5Html 5
Html 5
 
Css, xhtml, javascript
Css, xhtml, javascriptCss, xhtml, javascript
Css, xhtml, javascript
 
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
HTML5: Smart Markup for Smarter Websites [Future of Web Apps, Las Vegas 2011]
 
Html5
Html5Html5
Html5
 

Similar to Introduction to HTML5

Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5Terry Ryan
 
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
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4Amanda Case
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quideAshok Suragala
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quideJerry Wijaya
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quidePL dream
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205志宇 許
 
The Users are Restless
The Users are RestlessThe Users are Restless
The Users are RestlessTerry Ryan
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!Ana Cidre
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction Diego Scataglini
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersTsungWei Hu
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introductionDiego Scataglini
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]Dalibor Gogic
 
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8spierre
 
Take Your Markup to 11
Take Your Markup to 11Take Your Markup to 11
Take Your Markup to 11Emily Lewis
 

Similar to Introduction to HTML5 (20)

Semantic HTML5
Semantic HTML5Semantic HTML5
Semantic HTML5
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
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
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
 
Html5 quick learning guide
Html5 quick learning guideHtml5 quick learning guide
Html5 quick learning guide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
Html5 quick-learning-quide
Html5 quick-learning-quideHtml5 quick-learning-quide
Html5 quick-learning-quide
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
The Users are Restless
The Users are RestlessThe Users are Restless
The Users are Restless
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
Html5
Html5Html5
Html5
 
Html5, a gentle introduction
Html5, a gentle introduction Html5, a gentle introduction
Html5, a gentle introduction
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 
HTML & CSS 2017
HTML & CSS 2017HTML & CSS 2017
HTML & CSS 2017
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]
 
Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
 
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8
Pamela - Brining back the pleasure of hand-written HTML - Montréal Python 8
 
Take Your Markup to 11
Take Your Markup to 11Take Your Markup to 11
Take Your Markup to 11
 

More from Terry Ryan

Making the Mobile Web Work
Making the Mobile Web WorkMaking the Mobile Web Work
Making the Mobile Web WorkTerry Ryan
 
HTML Design for Devices
HTML Design for DevicesHTML Design for Devices
HTML Design for DevicesTerry Ryan
 
The Future of HTML5 Motion Design
 The Future of HTML5 Motion Design The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignTerry Ryan
 
Adobe and Modern Web Development
Adobe and Modern Web DevelopmentAdobe and Modern Web Development
Adobe and Modern Web DevelopmentTerry Ryan
 
The Future of HTML Motion Design
The Future of HTML Motion DesignThe Future of HTML Motion Design
The Future of HTML Motion DesignTerry Ryan
 
Skip the IDE with PhoneGap Build
Skip the IDE with PhoneGap BuildSkip the IDE with PhoneGap Build
Skip the IDE with PhoneGap BuildTerry Ryan
 
Beautiful PhoneGap Apps
Beautiful PhoneGap AppsBeautiful PhoneGap Apps
Beautiful PhoneGap AppsTerry Ryan
 
The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignThe Future of HTML5 Motion Design
The Future of HTML5 Motion DesignTerry Ryan
 
Mobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileMobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileTerry Ryan
 
Design for Developers
Design for DevelopersDesign for Developers
Design for DevelopersTerry Ryan
 
cf.Objective ANZ Keynote
cf.Objective ANZ Keynotecf.Objective ANZ Keynote
cf.Objective ANZ KeynoteTerry Ryan
 
Flex Mobile Skinning Workshop
Flex Mobile Skinning WorkshopFlex Mobile Skinning Workshop
Flex Mobile Skinning WorkshopTerry Ryan
 
HTML5 Semantic Web
HTML5 Semantic WebHTML5 Semantic Web
HTML5 Semantic WebTerry Ryan
 
Intro to Coldfusion
Intro to ColdfusionIntro to Coldfusion
Intro to ColdfusionTerry Ryan
 
Driving Technical Change
Driving Technical ChangeDriving Technical Change
Driving Technical ChangeTerry Ryan
 
Mobile Apps with ColdFusion
Mobile Apps with ColdFusionMobile Apps with ColdFusion
Mobile Apps with ColdFusionTerry Ryan
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRTerry Ryan
 

More from Terry Ryan (20)

Making the Mobile Web Work
Making the Mobile Web WorkMaking the Mobile Web Work
Making the Mobile Web Work
 
HTML Design for Devices
HTML Design for DevicesHTML Design for Devices
HTML Design for Devices
 
The Future of HTML5 Motion Design
 The Future of HTML5 Motion Design The Future of HTML5 Motion Design
The Future of HTML5 Motion Design
 
Adobe and Modern Web Development
Adobe and Modern Web DevelopmentAdobe and Modern Web Development
Adobe and Modern Web Development
 
The Future of HTML Motion Design
The Future of HTML Motion DesignThe Future of HTML Motion Design
The Future of HTML Motion Design
 
Skip the IDE with PhoneGap Build
Skip the IDE with PhoneGap BuildSkip the IDE with PhoneGap Build
Skip the IDE with PhoneGap Build
 
D2WC Keynote
D2WC KeynoteD2WC Keynote
D2WC Keynote
 
WebDU Keynote
WebDU KeynoteWebDU Keynote
WebDU Keynote
 
Beautiful PhoneGap Apps
Beautiful PhoneGap AppsBeautiful PhoneGap Apps
Beautiful PhoneGap Apps
 
The Future of HTML5 Motion Design
The Future of HTML5 Motion DesignThe Future of HTML5 Motion Design
The Future of HTML5 Motion Design
 
Adobe & HTML5
Adobe & HTML5Adobe & HTML5
Adobe & HTML5
 
Mobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery MobileMobile Apps with PhoneGap and jQuery Mobile
Mobile Apps with PhoneGap and jQuery Mobile
 
Design for Developers
Design for DevelopersDesign for Developers
Design for Developers
 
cf.Objective ANZ Keynote
cf.Objective ANZ Keynotecf.Objective ANZ Keynote
cf.Objective ANZ Keynote
 
Flex Mobile Skinning Workshop
Flex Mobile Skinning WorkshopFlex Mobile Skinning Workshop
Flex Mobile Skinning Workshop
 
HTML5 Semantic Web
HTML5 Semantic WebHTML5 Semantic Web
HTML5 Semantic Web
 
Intro to Coldfusion
Intro to ColdfusionIntro to Coldfusion
Intro to Coldfusion
 
Driving Technical Change
Driving Technical ChangeDriving Technical Change
Driving Technical Change
 
Mobile Apps with ColdFusion
Mobile Apps with ColdFusionMobile Apps with ColdFusion
Mobile Apps with ColdFusion
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIR
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Introduction to HTML5

  • 4. “HTML5” is an marketing term that companies use to mean “cool shit that works on an
  • 5. “HTML5” • HTML5 • CSS 3 • JavaScript • CSS 2 • JavaScript Frameworks • Canvas (Actually part of HTML5) • Video tag (Actually part of HTML5) • Anything the speaker wants it to mean
  • 7. We’ll come back to that in a second.
  • 10. HTML is a language that provides structure to content
  • 11. Start with Content whichElement? Trying to answer that age old question: Should that be a div, a span, or something else? Home Contribute About One of the main challenges we see in building semantic content is picking what tag to use when.
  • 12. Add Structure <h1>whichElement?</h1> <h2>Trying to answer that age old question:</h2> <h2>Should that be a div, a span, or something else?</h2> <ul> <li>Home</li> <li>Contribute</li> <li>About</li> </ul> <p>One of the main challenges we see in building semantic content is picking what tag to use when. This site seeks to help with that. Now, before we get all judgy and preachy let me get a few tenants out there:</p>
  • 14. CSS is a language that provides style to content
  • 15. Add Style <h1>whichElement?</h1> <style type="text/css"> <h2>Trying to answer that age old h1{ question:</h2> <h2>Should that red;a div, a span, or color: be something else?</h2> } h2{ <ul> color: blue; <li>Home</li> font-style: italic; <li>Contribute</li> } <li>About</li> </ul> p{ <p>One ofcolor:main challenges we see the white; in building semantic content is background-color: black; picking what tag to use when. This site }seeks to help with that. Now, before we get all judgy and preachy let me get a few tenants out </style> there:</p>
  • 16. HTML/CSS results in separation of content from display
  • 17. Why?
  • 18. Why separate content and display? • Helps SEO • Makes work more portable or changeable • Allows for multiple ways of display
  • 19. Change Style <style type="text/css"> <style type="text/css"> h1{ h1{ color: red; font-size: 16px; color: red; } } h2{ h2{ color: blue; font-size: 26px; } color: blue; ul{ font-style: italic; } list-style: none; clear: both; display: block; p{ width: 100%; height: 30px; color: 0; padding: white; background-color: black; } } li{ float: left; padding-right: 20px; </style> } </style>
  • 21. JavaScript is a language that provides behavior to content
  • 22. Behavior <html> <head> <script type="text/javascript"> function createAlertMessage(){ alert("Stop what you're doing!"); } </script> </head> <body> <button onclick="createAlertMessage()"> Alert! </button> </body> </html>
  • 24. Content - Database Structure - HTML Style - CSS Behavior - JavaScript
  • 25. Content - HTML Structure - HTML Style - CSS Behavior - JavaScript
  • 27. The 5 thand most recent public specification for HTML from the public groups that….
  • 28. The 5 thand most recent public specification for HTML from the public groups that….
  • 30. The most recent* specification** for HTML*** * It’s not technically the most recent ** It’s actually a standard *** While we’re at it, there is no HTML5 only HTML This is why pragmatic people hate standards bodies sometimes
  • 31. New in HTML5 • New semantic elements – article, section, aside, header, footer, etc • New multimedia elements – audio, video, canvas • New API’s for manipulation in JavaScript – Offline data, drag and drop, web storage
  • 33. A series of recommendation s modules to the standards committees…
  • 34. Can’t we just say “The latest official version of CSS?”
  • 36. It’s not the latest.
  • 38. Let’s just say “HMTL5” for everything? Ok?
  • 39. What can you do with “HTML5”?
  • 41. Semantic HTML means your markup describes it’s content without presenting it
  • 42. What do we mean by Semantic HTML • HTML where proper elements are used – <p> denotes paragraph – <ul> denotes an list of items, where the order is not important – <address> contains address information – <div> and <span> are used to describe information • HTML where extraneous elements are not misused – No <p> for line breaking – No <blockquote> for indentation – No <h1> for big text • HTML without presentation information – No <font>, <b>, <i> tags – No inline styles
  • 43. Semantic HTML is a moving target • Not Boolean • Not always objective • A continuum
  • 44. Semantic HTML RELATIVELY UNSEMANTIC RELATIVELY SEMANTIC <body background="css/bg.png"> <font face="Calibri”><center> <body> <table width="800" bgcolor="#FFFFFF" border="10" bordercolor="#FFFFFF"> <tr><td> <div id="header"> <table width="100%" bgcolor="#f0f0f0" border="0“> <tr> <h1>The Awesome Blog of <td><h1> Awesome</h1> <font face="Palatino Linotype">The Awesome Blog of Awesome</font> <p class="tagline"> </h1> </td> Awesome is a State of </tr> <tr> Mind <td align="right"><p><i>Awesome is a State of Mind</i></p></td> </p> </tr> </table> </div>
  • 45. HTML5? What does this have to do with HTML5?
  • 46. HTML5 adds more semantics <body> <header> <h1>The Awesome Blog of Awesome</h1> <p>Awesome is a State of Mind</p> </header> <nav> <ul> <li><a href="">Home</a></li> <li><a href="">Blog</a></li> <li><a href="">About</a></li> <li><a href="">Contact</a></li> </ul> </nav>
  • 47. Outlines • Outlines seem really important to the people who push semantic HTML 5 • Are they really important? – Today: No – Tomorrow: Who knows? • But this is a semantically correct way of reducing classes and extraneous divs
  • 49. Header PREVIOUSLY <div id="header"> <h1>The Awesome Blog of Awesome</h1> <p class="tagline">Awesome is a State of Mind</p> </div> HTML 5 <header> <h1>The Awesome Blog of Awesome</h1> <h2>Awesome is a State of Mind</h2> </header>
  • 51. Footer PREVIOUSLY <div id="footer”> <p>Copyright 2011 - Terry Ryan</p> </div> HTML 5 <footer> <p>Copyright 2011 - Terry Ryan</p> </footer>
  • 53. Navigation PREVIOUSLY HTML 5 <div id="nav"> <nav> <ul> <ul> <li><a href="">Home</a></li> <li><a href="">Home</a></li> <li><a href="">Blog</a></li> <li><a href="">Blog</a></li> <li><a href="">About</a></li> <li><a href="">About</a></li> <li><a href="">Contact</a></li> <li><a href="">Contact</a></li> </ul> </ul> </div> </nav>
  • 55. Articles PREVIOUSLY HTML5 <div class="post”> <article> <div class="postheader"> <header> <h3><a href="">I Scream My Thoughts</a></h3> <h1><a href="">I Scream My Thoughts</a></h1> <p class="date">August 10, 2011</p> <time>August 10, 2011</time> </div> </header> <p>You probably haven't heard of them duis</p> <p>You probably haven't heard of them duis </p> </div> </article>
  • 56. An article is a piece of content that can stand on it’s own
  • 57. Content 57
  • 58. Content PREVIOUSLY HTML5 <div class=”content”> <div class=”content”> <div class="post”> <article> ... ... </div> </article> <div class="post”> <article> ... ... </div> </article> <div class="post”> <article> ... ... </div> <article> </div> </div>
  • 59. Also can be correct PREVIOUSLY HTML5 <div class=”content”> <section class=”content”> <div class="post”> <article> ... ... </div> </article> <div class="post”> <article> ... ... </div> </article> <div class="post”> <article> ... ... </div> <article> </div> </section>
  • 60. Umm That’s great, but frankly not that much of a different, how is that better?
  • 61. Benefit 1 BEFORE THESE ELEMENTS AFTER </div> </div> </div> </article> </div> </div> <div id=“footer”> <footer> </div> </footer> </body> </body>
  • 62. Benefit 2 • Less monkeying with content hierarchies
  • 63. <article> <header> <h1><a href="">I Made a Post Thingie</a></h1> article header h1 <time datetime="2011-09-02">September 2, 2011</time> </header> <img src="img/captain-awesome.jpg" width="300" height="200" alt="Image of Captain Awesome" /> <p>DIY ea nulla photo booth tempor occaecat, velit nihil mixtape scenester. Irony laboris echo park, wolf officia vice cupidatat labore butcher freegan farm-to-table nisi velit aliqua gluten-free. Aliquip nesciunt assumenda, wayfarers seitan wolf reprehenderit nulla twee sartorial dolore food truck voluptate ex vinyl. Aliquip ex enim, irony terry richardson trust fund consectetur fap pariatur dolor. Lo-fi nulla whatever mlkshk, banksy american apparel carles adipisicing incididunt wolf photo booth hipster. Wayfarers four loko ex cosby sweater, adipisicing sartorial non cardigan craft beer cillum reprehenderit terry richardson 3 wolf moon mollit. Ethical ut labore beard, 3 wolf moon duis readymade assumenda hipster tofu mcsweeney's master cleanse.</p> </article>
  • 64. Benefit 3 • No longer bound to one header or one nav can have multiple.
  • 65. New elements work across modern browsers without fail
  • 67. Use the HTML 5 Shiv http://code.google.com/p/html5shiv/
  • 68. FORM
  • 69. HTML5 includes lots of new <input> types 69
  • 70. They aren’t supported on every browser 70
  • 71. All browsers default to showing unknown input types as text 71
  • 72. Search <input type=“search” name=“search” /> • Support is spotty • Browser vendors tend to round, add magnifying glass, etc.
  • 73. Email <input type=“email” name=“email” /> • Provides validation • Provides email keyboard on iOS devices.
  • 74. Url <input type=“url” name=“url” /> Provides validation Provides url keyboard on iOS devices.
  • 75. Number <input type=“number” name=“cost” /> Provides keypad on iOS and Android devices. Provides a stepper on desktops Takes attributes: – Min/Max – Step
  • 76. Tel <input type=“tel” name=“cell” /> • Provides keypad on iOS and Android devices.
  • 77. Not well supported, but have potential
  • 78. Range <input type=“range” name=“volume” /> • Provides a set of values • The slider allows you to pick one • Not terribly precise • Takes attributes: • Min/Max • Step
  • 79. Date <input type=“date” name=“dob” /> • Provides validation • On Opera • Displays a data picker • On Safari/Chrome • Displays ticker • IE • Dashes your hopes and dreams the way only IE can
  • 80. FOR
  • 81. Output <output /> Semantically correct placeholder for calculated values. Can also be used a label for input type=“slider”
  • 82. Output in Action <form class="order"> <label for="quantity">Quantity:</label> <input id="quantity" name="quantity" type="number" value="1" onChange="calc()" /> <br /> <label for="price">Price: </label> <input id="price" name="price" type="number" value="19.99" disabled /> <br /> <label for="total">Total: </label> <output id="total" name="total" /> <br /> </form> <script type="application/javascript"> function calc(){ var quantity = document.getElementById("quantity").value; var price = document.getElementById("price").value; var total = document.getElementById("total"); total.value = Math.round(quantity * price * 100)/100; } </script>
  • 83. meter <meter min=“0” max=“20” value=“12”>12cm</meter> Basically a Bar Chart of results
  • 84. progress <progress min=“100” value=“20”>20%</progress> Could be used to indicate progress through a multistep form Could be programmatically changed to indicate progress of program
  • 85. For Future Reference • HTML 5 General – http://diveintohtml5.org – http://html5doctor.com • HTML5 Semantics – http://diveintohtml5.org/semantics.html • HTML 5 Forms – http://wufoo.com/html5 – http://diveintohtml5.org/forms.html
  • 88. Canvas • A drawing surface for – Manipulating images – Drawing – Saving Content
  • 89. Demo
  • 90. More resources for Canvas • http://www.html5rocks.com/en/tutorials/canvas/integrating/ • http://dev.opera.com/articles/view/html-5-canvas-the-basics/ • http://www.slideshare.net/bebraw/intro-to-html5-canvas-8312015
  • 91. Video
  • 93. Audio
  • 99. CSS3
  • 100. Remember CSS3 is a series of modules…
  • 101. CSS Modules • Transforms – Origins • Shadows • Gradients • Transitions • Animations
  • 102. Demo Various CSS Coolness
  • 104. Reasons • Hardware Accelerated • Philosophically a display issue • Hardware Accelerated
  • 106. “HTML5” vs HTML5
  • 107. Follow up? • Preso will be up at – http://slideshare.net/tpryan • Feel free to contact me – terry.ryan@adobe.com – http://terrenceryan.com – Twitter: @tpryan

Editor's Notes

  1. Designer?Developer?Both?jQuery?jQuery Mobile?PhoneGap?TypeKit?Adobe Edge?
  2. Not all parts of it have been accepted
  3. There is already work on CSS4
  4. It’s a collection of modules.