Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FOWD NYC 2012 - HTML5

FOWD NYC 2012 - HTML5

Easy ways to implement and get started using HTML5 and integrating CSS3.

Avatar for Claire Chandler

Claire Chandler

October 22, 2012
Tweet

Other Decks in Technology

Transcript

  1. HTML5 What’s New? What’s Next? FOWD - October 22, 2012

    - Claire Chandler Tuesday, October 23, 12
  2. <article> defines an article <canvas> Used to draw graphics, on

    the fly, via scripting (usually JavaScript) <details> an additional detailed section that can be shown or hidden <footer> Defines a footer for a document or section <header> Defines a header for a document or section <nav> Defines navigation links Tuesday, October 23, 12
  3. <figure> specifies self contained content such as illustrations, diagrams, photos,

    etc. <hgroup> a new tag that groups <h1> thru <h6> sections on a page <source> identifies source of audio or video <time> HTML5 has a time element This enables you to annotate a human-readable date with an unambiguous machine-readable one. <video> defines video or movie <audio> defines sound content Tuesday, October 23, 12
  4. basic HTML5 page <body> <div id="pageContainer"> <header id="pageHeader"></header> <div id="contentContainer"

    class="clearfix"> <nav id="pageNav"></nav> <section id="pageSection"> <header class="sectionHeader"></header> <article class="sectionArticle"></article> <footer class="sectionFooter"></footer> </section> <aside id="pageAside"></aside> </div> <footer id="pageFooter"></footer> </div> </body> Tuesday, October 23, 12
  5. audio & video <video width="320" height="240" controls> <source src="clouds.mp4" type="video/mp4">

    Your browser does not support the video tag. </video> <audio controls> <source src="goldfish-fortknox.m4a" type="audio/mpeg"> Your browser does not support the audio element. </audio> http://claireeyedesign.com/FOWD/presentation-pieces/ video.html Tuesday, October 23, 12
  6. placeholder text <form action="demo_form.asp"> <input type="text" name="fname" placeholder="First name" /><br

    /> <input type="text" name="lname" placeholder="Last name" /><br /> <input type="submit" value="Submit" /> </form> http://www.w3schools.com/html5/tryit.asp? filename=tryhtml5_input_placeholder Tuesday, October 23, 12
  7. opacity img { opacity:0.4; filter:alpha(opacity=40); /* For IE8 and earlier

    */ } img:hover { opacity:1.0; filter:alpha(opacity=100); /* For IE8 and earlier */ } http://www.claireeyedesign.com/FOWD/presentation-pieces/photo- opacity.html Tuesday, October 23, 12
  8. text-shadows text shadow h1 { text-shadow: 5px 5px 5px #FF803D;

    } http://www.claireeyedesign.com/FOWD/presentation-pieces/photo- opacity.html Tuesday, October 23, 12
  9. new form input types color date datetime datetime-local email month

    number range search tel time url week http://claireeyedesign.com/FOWD/presentation-pieces/ form-elements.html Tuesday, October 23, 12