• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
HTML5, the new buzzword
 

HTML5, the new buzzword

on

  • 819 views

Une présentation sur HTML5 que j'ai présenté au Day of DotNetNuke au NovaScotia

Une présentation sur HTML5 que j'ai présenté au Day of DotNetNuke au NovaScotia

Statistics

Views

Total Views
819
Views on SlideShare
819
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    HTML5, the new buzzword HTML5, the new buzzword Presentation Transcript

    • HTML5, the new buzzwordNova Scotia Day of DotNetNuke - 2011-06-11 Frederic Harper
    • The bald guy in the frontFrederic HarperDeveloper Evangelist @ Microsoftfredh@microsoft.comhttp://blogs.msdn.com/b/cdndevs/http://alabase2.com (in french)http://linkedin.com/in/fredericharperhttp://twitter.com/fharperhttp://facebook.com/fharper
    • The rules#1 - Camp style presentation#2 - Law of Two Feet
    • The presentation1. What is HTML5?2. Do I have to care about it (HTML5, CSS3 and the lovely JavaScript)?
    • HTML5 and youQuizzA. You use itB. You will use itC. You won’t use itD. You don’t know what I am talking about
    • HTML5• Web Standard• Next version of HTML4 (I know, I’m so brilliant)• Draft• 9 new structure tags• 16 new HTML elements• 13 new input types
    • Demo
    • header, footer, nav, aside, figure, section, article
    • Traditionnal Website <div id=“header”> <div id=“nav”><div id=“section”> <div id=“article”> <div id=“sid <div id=“article”> ebar”> <div id=“media”> <div id=“footer”>
    • HTML5 Website (semantic++) <header> <nav> <section> <article> <aside> <article> <figure> <footer>
    • svg
    • Demo
    • Code<svg width="400" height="200"> <rect fill="red" x="20" y="20" width="100"height="75" /> <rect fill="blue" x="50" y="50" width="100"height="75" /></svg>
    • canvas
    • Demo
    • Code<canvas id=“myCanvas" width="200" height="200"> Sorry, your browser doesn’t support HTML5</canvas><script type="text/javascript"> var example = document.getElementById(“myCanvas"); var context = example.getContext("2d"); context.fillStyle = "rgb(255,0,0)"; context.fillRect(30, 30, 50, 50);</script>
    • video, audio
    • Demo
    • Code<video src="video.mp4" id="videoTag"> <source src="video.webm" /> <a href="http://videolink.com/"> Sorry, your browser doesn’t support HTML5 </a> <!– Flash/Silverlight video here --></video>
    • Code<audio src="audio.mp3" id="audioTag"autoplay controls> <!– Flash/Silverlight audio here --></audio>
    • Geolocalisation
    • Demo
    • Codefunction getLocation() { if (navigator.geolocation != undefined) { navigator.geolocation.getCurrentPosition(callBack); }}function callBack(position) { var accuracy = position.coords.accuracy; var latitude = position.coords.latitude; var longitude = position.coords.longitude;}
    • Web Open FontFormat aka WOFF
    • Demo
    • Code<style type="text/css"> @font-face { font-family: MyFont; src: url(Font.woff); }</style><div style="font: 24pt MyFont, sans-serif;"> I put my text here as usual.</div>
    • CSS3 Media Queries
    • Demo
    • Code<link href="mobile.css" rel="stylesheet"media="screen and (max-width:480px)“type="text/css" /><link href="netbook.css" rel="stylesheet“media="screen and (min-width:481px) and (max-width: 1024px)“ type="text/css" /><link href="laptop.css" rel="stylesheet"media="screen and (min-width:1025px)“type="text/css" />
    • Unleash the realpower of the Web
    • I am a .NET developersYou already use HTMLYou already (almost) have the tools Visual Studio 2010 SP1 Visual studio 2008 + plugin http://j.mp/mDXyps You can have help from HTML developers
    • So Is HTML5 ready yet? YES and NO
    • Next steps Try it Read on itDo a cool project Have fun!
    • Ressourceshttp://www.w3.org/TR/html5/http://caniuse.comhttp://makeawesomeweb.comhttp://html5gallery.comhttp://html5labs.interoperabilitybridges.com/http://www.beautyoftheweb.com
    • Questions? Comments?Frederic HarperDeveloper Evangelist @ Microsoftfredh@microsoft.comhttp://blogs.msdn.com/b/cdndevs/http://alabase2.com (in french)http://linkedin.com/in/fredericharperhttp://twitter.com/fharperhttp://facebook.com/fharper