SlideShare a Scribd company logo
1 of 55
Martin Beeby@thebeebsUsing HTML5 and CSS3 Todaymartin.beeby@microsoft.com
Not @thebiebs but @thebeebs
Browsers and Microsoft We talked to developers and got feedback We improved our product based upon that feedback
the internet has changed
what is HTML5 HTML5 is a standard developed by W3C HTML5 is often incorrectly used as an umbrella term Still under development Needs to be done the right way
Standards are good  Standardise what we had like XMLHTTPRequest Standardise what was new Standardise the way mark up errors like<p><span>thebeebs</p></span>are handled Standards that are testablehttp://bit.ly/submitHTML5Tests
http://test.w3.org/html/tests/reporting/report.htm Submit your tests http://bit.ly/submitHTML5Tests
http://joydefinesthefuture.com/
what is CSS3 controls the way HTML looks Achieve things that was previously only possible using JavaScript
Oh So Shiny! HTML5 CCS3 WebApps – WebSockets, Web Storage, etc SVG GeoLocation ECMA
thekillersmusic.com/HTML5
HTML5 <!DOCTYPE html> Markup Elements 	<header>, <hgroup>, 	<nav>, <aside>, <footer> 	<article>, <section> 	<figure>, <figcaption>
document changes
validator.w3.org/check
<script> You no longer need the <script type="text/javascript"></script> This has always worked but was never valid before.
Semantic Web
<header> Represents a group of introductory or navigational aids <header>	<hgroup>		<h1>My Site</h1>		<h2>Is rocking a hgroup</h2>	</hgroup></header> Can be more than one per page
<nav> Should be used to wrap navigational links Not links that are ads or a collection of links that make up the main content of the page. You shouldn’t put links for things like terms of service or copyright pages. <nav>	<ul>		<li>Menu Name</li>	</ul></nav>
<aside> Good for content that is separate to the main content Pull Quotes SideBars
<article> Represents a component part of a page Could be independently distributable Don’t think magazine article Think distinct object <article>	<h1>The articles Title</h1>	<footer>Posted in category xyz</footer></article>
<section> The section element represents a generic document or application section. Not a generic container element.  When an element is needed for styling purposes or as a convenience for scripting use the div element instead. Authors are encouraged to use the article element instead of the section element when it would make sense to syndicate the contents of the element.
<footer> Copyright Data Who Wrote the file Related Documents Can be more than one per page
lime
lime <header> <nav> <section id=“intro”> <article> <aside> <header> <section> <section>
rich graphics Audio & Video Canvas SVG 1.1 Basic shapes Paths Text Transforms Painting Filling, Colour Scripting Styling Gradients Patterns
http://www.nevermindthebullets.com
video tag <video src=”videos/video.mp4” id=”myVideo”> </video>
video tag <video id=”myVideo” poster=”videos/poster.jpg” autoplay controls preload=”auto” playbackRate=”1” width=”448” > <source src=”videos/video.mp4” type=’video/mp4’ /><source src=”video/video.ogv” type=’video/ogg’ /> </video>
video codec
modernizr.com
<div id="vidControls"><a href="#" onclick="slower()">Slower</a><a href="#" onclick="play()">Play</a><a href="#" onclick="pause()">Pause</a><a href="#" onclick="faster()">Faster</a></div>
function slower() { var video = document.getElementById("myVideo"); varplaybackRate = video.playbackRate;     if (playbackRate <= 1) playbackRate = playbackRate / 2;     else playbackRate--; video.playbackRate = playbackRate; } function faster() { document.getElementById("myVideo").playbackRate++; } function pause() { document.getElementById("myVideo").pause(); } function play() { document.getElementById("myVideo").play(); }
video demo
canvas
www.visitmix.com/lab
Canvas Demo – Museum of China
GeoLocation (Where Am I?)
What’s Generally Safe To Use? SVG Document Object Model Core - Level 2 & 3 Events – Level 2 & 3 CSS3 2D Transforms Backgrounds & Borders Fonts Media Queries Selectors Colors and Opacity HTML5 Doc Type Semantic Elements Audio & Video Canvas Selection APIs Content Editable DOM Storage Ajax Navigation Cross Document Messaging GeoLocation
modernizr.com
Using Shims and Poly Fills Used to fill the holes in support by legacy browser Example: Use http://json.org/json2.js when Native JSON is not supported Great list of PolyFills (use with caution) http://bit.ly/HTML5pollyfills
CSS3
border-radius image { border-radius:105px } For more Info  http://bit.ly/border-radius
transforms
<style>     #mVideo     {         -webkit-transform: rotate(5deg);         -moz-transform: rotate(5deg);         -ms-transform: rotate(5deg);         -webkit-transform-origin: bottom left;         -moz-transform-origin: bottom left; -ms-transform-origin: bottom left;     } </style>
Apply the standard last .target {   -moz-border-radius: 20px;   -webkit-border-radius: 20px;   border-radius: 20px; }
web fonts @font-face         {             font-family: FelbridgeOTSCondensed; src: url('fonts/FelbridgeOTSCondensed.woff'); } #title      { font: 30pt FelbridgeOTSCondensed, sans-serif;             letter-spacing: 0.01em;             text-align: center; color: white; background-color:rgb(152,155,177);        }
lostworldsfairs.com/eldorado/
fontsquirrel.com
Come Meet Ubelly.com Free windows Hosting offers Ubel.ly/2mthsfree
resources Books Introducing HTML5 by Bruce Lawson & Remy Sharp W3C Web Sites & Resources W3C HTML5 Specification – www.w3.org/TR/html5  HTML5 Test Suite - test.w3.org/html/tests/reporting/report.htm Microsoft Internet Explorer 9 Sites Engineering Blog – blogs.msdn.com/ie/ Beauty Of The Web – www.beautyoftheweb.com/experience/ IE Test Drive – www.ietestdrive.com My Blog  http://blogs.msdn.com/b/thebeebs
thankyou

More Related Content

What's hot

Microformats HTML to API
Microformats HTML to APIMicroformats HTML to API
Microformats HTML to APIelliando dias
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Hamlet Batista
 
Technical SEO "Overoptimization"
Technical SEO "Overoptimization"Technical SEO "Overoptimization"
Technical SEO "Overoptimization"Hamlet Batista
 
Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Anton Shulke
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overviewreybango
 
Technical Foundations of Successful Internationalization - SMX Munich
Technical Foundations of Successful Internationalization - SMX MunichTechnical Foundations of Successful Internationalization - SMX Munich
Technical Foundations of Successful Internationalization - SMX MunichJamie Indigo
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Websurferroop
 
Html 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally ChohanHtml 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally Chohanballychohanuk
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overviewJacob Nelson
 
Hey Googlebot, did you cache that ?
Hey Googlebot, did you cache that ?Hey Googlebot, did you cache that ?
Hey Googlebot, did you cache that ?Petra Kis-Herczegh
 
Getting Started with ASP.NET MVC
Getting Started with ASP.NET MVCGetting Started with ASP.NET MVC
Getting Started with ASP.NET MVCshobokshi
 
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...Semrush
 
DeepCrawl Webinar: Performing SEO on the Edge
DeepCrawl Webinar: Performing SEO on the EdgeDeepCrawl Webinar: Performing SEO on the Edge
DeepCrawl Webinar: Performing SEO on the EdgeDan Taylor
 

What's hot (20)

Microformats HTML to API
Microformats HTML to APIMicroformats HTML to API
Microformats HTML to API
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
HTML 5 Overview
HTML 5 OverviewHTML 5 Overview
HTML 5 Overview
 
Technical SEO "Overoptimization"
Technical SEO "Overoptimization"Technical SEO "Overoptimization"
Technical SEO "Overoptimization"
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)Rendering SEO (explained by Google's Martin Splitt)
Rendering SEO (explained by Google's Martin Splitt)
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overview
 
Technical Foundations of Successful Internationalization - SMX Munich
Technical Foundations of Successful Internationalization - SMX MunichTechnical Foundations of Successful Internationalization - SMX Munich
Technical Foundations of Successful Internationalization - SMX Munich
 
Html ( 1 )
Html ( 1 )Html ( 1 )
Html ( 1 )
 
Semantics & the Mobile Web
Semantics & the Mobile WebSemantics & the Mobile Web
Semantics & the Mobile Web
 
Html 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally ChohanHtml 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally Chohan
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
Hey Googlebot, did you cache that ?
Hey Googlebot, did you cache that ?Hey Googlebot, did you cache that ?
Hey Googlebot, did you cache that ?
 
ColdFusion ORM
ColdFusion ORMColdFusion ORM
ColdFusion ORM
 
Getting Started with ASP.NET MVC
Getting Started with ASP.NET MVCGetting Started with ASP.NET MVC
Getting Started with ASP.NET MVC
 
HTML5 101
HTML5 101HTML5 101
HTML5 101
 
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...
Jamie Alberico — How to Leverage Insights from Your Site’s Server Logs | 5 Ho...
 
DeepCrawl Webinar: Performing SEO on the Edge
DeepCrawl Webinar: Performing SEO on the EdgeDeepCrawl Webinar: Performing SEO on the Edge
DeepCrawl Webinar: Performing SEO on the Edge
 
web designing course bangalore
web designing course bangaloreweb designing course bangalore
web designing course bangalore
 

Similar to Using HTML5 and CSS3 today

Successful Teams follow Standards
Successful Teams follow StandardsSuccessful Teams follow Standards
Successful Teams follow StandardsChristian Heilmann
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from AustinLisa Adkins
 
HTML, WordPress, and SEO
HTML, WordPress, and SEOHTML, WordPress, and SEO
HTML, WordPress, and SEOBrian Whalley
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPyucefmerhi
 
Filling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and ShimsFilling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and Shimsreybango
 
Download Workshop Lecture
Download Workshop LectureDownload Workshop Lecture
Download Workshop Lecturewebhostingguy
 
Michael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentationMichael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentationMichael(tm) Smith
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Designwebhostingguy
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSBG Java EE Course
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Matthew Mobbs
 
Block2 Session2 Presentation
Block2 Session2 PresentationBlock2 Session2 Presentation
Block2 Session2 PresentationMichael Gwyther
 
Peter lubbers-html5-overview-sf-dev-conf-2011
Peter lubbers-html5-overview-sf-dev-conf-2011Peter lubbers-html5-overview-sf-dev-conf-2011
Peter lubbers-html5-overview-sf-dev-conf-2011Peter Lubbers
 

Similar to Using HTML5 and CSS3 today (20)

HTML5
HTML5HTML5
HTML5
 
Successful Teams follow Standards
Successful Teams follow StandardsSuccessful Teams follow Standards
Successful Teams follow Standards
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
 
HTML5 Fundamentals
HTML5 FundamentalsHTML5 Fundamentals
HTML5 Fundamentals
 
HTML, WordPress, and SEO
HTML, WordPress, and SEOHTML, WordPress, and SEO
HTML, WordPress, and SEO
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
 
Filling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and ShimsFilling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and Shims
 
Html 5.0
Html 5.0Html 5.0
Html 5.0
 
HTML5
HTML5HTML5
HTML5
 
Download Workshop Lecture
Download Workshop LectureDownload Workshop Lecture
Download Workshop Lecture
 
HTML 5
HTML 5HTML 5
HTML 5
 
Michael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentationMichael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentation
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Design
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSS
 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010
 
HTML to FTP
HTML to FTPHTML to FTP
HTML to FTP
 
Block2 Session2 Presentation
Block2 Session2 PresentationBlock2 Session2 Presentation
Block2 Session2 Presentation
 
Peter lubbers-html5-overview-sf-dev-conf-2011
Peter lubbers-html5-overview-sf-dev-conf-2011Peter lubbers-html5-overview-sf-dev-conf-2011
Peter lubbers-html5-overview-sf-dev-conf-2011
 
Html 5
Html 5Html 5
Html 5
 

More from thebeebs

A Developer Primer on Blockchain
A Developer Primer on BlockchainA Developer Primer on Blockchain
A Developer Primer on Blockchainthebeebs
 
Blockchain Explain
Blockchain ExplainBlockchain Explain
Blockchain Explainthebeebs
 
HItchhickers Guide to TypeScript
HItchhickers Guide to TypeScriptHItchhickers Guide to TypeScript
HItchhickers Guide to TypeScriptthebeebs
 
HTML5 and Human Interaction
HTML5 and Human InteractionHTML5 and Human Interaction
HTML5 and Human Interactionthebeebs
 
Building apps why you should bet on the web
Building apps why you should bet on the webBuilding apps why you should bet on the web
Building apps why you should bet on the webthebeebs
 
The web as it should be
The web as it should beThe web as it should be
The web as it should bethebeebs
 
IE9 the story so far
IE9 the story so farIE9 the story so far
IE9 the story so farthebeebs
 

More from thebeebs (7)

A Developer Primer on Blockchain
A Developer Primer on BlockchainA Developer Primer on Blockchain
A Developer Primer on Blockchain
 
Blockchain Explain
Blockchain ExplainBlockchain Explain
Blockchain Explain
 
HItchhickers Guide to TypeScript
HItchhickers Guide to TypeScriptHItchhickers Guide to TypeScript
HItchhickers Guide to TypeScript
 
HTML5 and Human Interaction
HTML5 and Human InteractionHTML5 and Human Interaction
HTML5 and Human Interaction
 
Building apps why you should bet on the web
Building apps why you should bet on the webBuilding apps why you should bet on the web
Building apps why you should bet on the web
 
The web as it should be
The web as it should beThe web as it should be
The web as it should be
 
IE9 the story so far
IE9 the story so farIE9 the story so far
IE9 the story so far
 

Recently uploaded

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Using HTML5 and CSS3 today

  • 1. Martin Beeby@thebeebsUsing HTML5 and CSS3 Todaymartin.beeby@microsoft.com
  • 2. Not @thebiebs but @thebeebs
  • 3. Browsers and Microsoft We talked to developers and got feedback We improved our product based upon that feedback
  • 5.
  • 6. what is HTML5 HTML5 is a standard developed by W3C HTML5 is often incorrectly used as an umbrella term Still under development Needs to be done the right way
  • 7. Standards are good  Standardise what we had like XMLHTTPRequest Standardise what was new Standardise the way mark up errors like<p><span>thebeebs</p></span>are handled Standards that are testablehttp://bit.ly/submitHTML5Tests
  • 10. what is CSS3 controls the way HTML looks Achieve things that was previously only possible using JavaScript
  • 11. Oh So Shiny! HTML5 CCS3 WebApps – WebSockets, Web Storage, etc SVG GeoLocation ECMA
  • 13. HTML5 <!DOCTYPE html> Markup Elements <header>, <hgroup>, <nav>, <aside>, <footer> <article>, <section> <figure>, <figcaption>
  • 16.
  • 17. <script> You no longer need the <script type="text/javascript"></script> This has always worked but was never valid before.
  • 19. <header> Represents a group of introductory or navigational aids <header> <hgroup> <h1>My Site</h1> <h2>Is rocking a hgroup</h2> </hgroup></header> Can be more than one per page
  • 20. <nav> Should be used to wrap navigational links Not links that are ads or a collection of links that make up the main content of the page. You shouldn’t put links for things like terms of service or copyright pages. <nav> <ul> <li>Menu Name</li> </ul></nav>
  • 21. <aside> Good for content that is separate to the main content Pull Quotes SideBars
  • 22. <article> Represents a component part of a page Could be independently distributable Don’t think magazine article Think distinct object <article> <h1>The articles Title</h1> <footer>Posted in category xyz</footer></article>
  • 23. <section> The section element represents a generic document or application section. Not a generic container element. When an element is needed for styling purposes or as a convenience for scripting use the div element instead. Authors are encouraged to use the article element instead of the section element when it would make sense to syndicate the contents of the element.
  • 24. <footer> Copyright Data Who Wrote the file Related Documents Can be more than one per page
  • 25. lime
  • 26.
  • 27. lime <header> <nav> <section id=“intro”> <article> <aside> <header> <section> <section>
  • 28. rich graphics Audio & Video Canvas SVG 1.1 Basic shapes Paths Text Transforms Painting Filling, Colour Scripting Styling Gradients Patterns
  • 30. video tag <video src=”videos/video.mp4” id=”myVideo”> </video>
  • 31. video tag <video id=”myVideo” poster=”videos/poster.jpg” autoplay controls preload=”auto” playbackRate=”1” width=”448” > <source src=”videos/video.mp4” type=’video/mp4’ /><source src=”video/video.ogv” type=’video/ogg’ /> </video>
  • 34. <div id="vidControls"><a href="#" onclick="slower()">Slower</a><a href="#" onclick="play()">Play</a><a href="#" onclick="pause()">Pause</a><a href="#" onclick="faster()">Faster</a></div>
  • 35. function slower() { var video = document.getElementById("myVideo"); varplaybackRate = video.playbackRate; if (playbackRate <= 1) playbackRate = playbackRate / 2; else playbackRate--; video.playbackRate = playbackRate; } function faster() { document.getElementById("myVideo").playbackRate++; } function pause() { document.getElementById("myVideo").pause(); } function play() { document.getElementById("myVideo").play(); }
  • 39. Canvas Demo – Museum of China
  • 41. What’s Generally Safe To Use? SVG Document Object Model Core - Level 2 & 3 Events – Level 2 & 3 CSS3 2D Transforms Backgrounds & Borders Fonts Media Queries Selectors Colors and Opacity HTML5 Doc Type Semantic Elements Audio & Video Canvas Selection APIs Content Editable DOM Storage Ajax Navigation Cross Document Messaging GeoLocation
  • 43. Using Shims and Poly Fills Used to fill the holes in support by legacy browser Example: Use http://json.org/json2.js when Native JSON is not supported Great list of PolyFills (use with caution) http://bit.ly/HTML5pollyfills
  • 44. CSS3
  • 45. border-radius image { border-radius:105px } For more Info http://bit.ly/border-radius
  • 47. <style> #mVideo { -webkit-transform: rotate(5deg); -moz-transform: rotate(5deg); -ms-transform: rotate(5deg); -webkit-transform-origin: bottom left; -moz-transform-origin: bottom left; -ms-transform-origin: bottom left; } </style>
  • 48. Apply the standard last .target { -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; }
  • 49. web fonts @font-face { font-family: FelbridgeOTSCondensed; src: url('fonts/FelbridgeOTSCondensed.woff'); } #title { font: 30pt FelbridgeOTSCondensed, sans-serif; letter-spacing: 0.01em; text-align: center; color: white; background-color:rgb(152,155,177); }
  • 51.
  • 53. Come Meet Ubelly.com Free windows Hosting offers Ubel.ly/2mthsfree
  • 54. resources Books Introducing HTML5 by Bruce Lawson & Remy Sharp W3C Web Sites & Resources W3C HTML5 Specification – www.w3.org/TR/html5 HTML5 Test Suite - test.w3.org/html/tests/reporting/report.htm Microsoft Internet Explorer 9 Sites Engineering Blog – blogs.msdn.com/ie/ Beauty Of The Web – www.beautyoftheweb.com/experience/ IE Test Drive – www.ietestdrive.com My Blog http://blogs.msdn.com/b/thebeebs

Editor's Notes

  1.  
  2.  
  3. Geo Location