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

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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