SlideShare a Scribd company logo
1 of 30
Extending SharePoint 2010
with HTML 5




    Hemant Joshi
    Senior Consultant , IW
    Hemant.joshi@neudesic.com
Session Objectives and Takeaways

   Brief tour of HTML5
   Leveraging HTML5 Features in SharePoint 2010
   Adding Support for IE8 and IE7
   References….
Brief tour of HTML5
Brief History of HTML and CSS

• HTML 3.2 and CSS 1.0 (1997)
    – Browser wars between Netscape vs. Internet Explorer

• HTML 4.01 and CSS 2.0 (1999)
    – Exit Netscape – Enter FireFox, Opera, Safari, etc.

• XHTML 1.0 and CSS 2.1 (2000)
    – HTML content pages written as valid XML documents       SharePoint 2010 lives here
• HTML 5 and CSS 3.0 (2005)
    – Rejects the constraints added by XHTML
    – Standardizes new HTML elements, CSS properties and JavaScript APIs
Five things you need to know about HTML5!

1.   Its not once big thing.
2.   You don’t need to throw anything away.
3.   Its easy to get started.
4.   It already works.
5.   Its here to stay.
HTML5 & Technology Classes
Its here to stay…
HTML is New HTML5

This is the HTML5 doctype:
 <!DOCTYPE html>
 That’s it. Just 15 characters. It’s so easy, you can type it by hand..
Moving to HTML5

• Primary Motivations
    –   To write HTML that works consistently across all modern browsers
    –   To take advantage of the of the new JavaScript APIs
    –   To eliminate need for Flash and other browser-specific plug-ins
    –   To target mobile devices and the CEO's iPad


• Primary Pain Points
    –   Today's "modern" browsers only support portions of HTML5 specification
    –   Full HTML5 specification support across modern browsers anticipated in 2022
    –   Internet Explorer (IE) does not offer HTML5 tag support until IE9
    –   IE8 and IE7 are difficult to support in HTML5 Websites
Responsive UI
Responsive UI
Leveraging HTML5 Features in SharePoint 2010
It has built in support,   but…




                                  +
SharePoint As of Today…
SharePoint As of Today…
Getting it Working…

• <!DOCTYPE html>
• Internet Explorer 9 compatibility
    – <meta http-equiv="X-UA-Compatible" content="IE=9"/>
–   Potential issues and workarounds
Using HTML5 in SharePoint Master Page
Web Pages: Before and After
HTML5 Master Page

• Let's See a custom master page for SharePoint 2010 that…
    – uses the HTML5 doctype
    – provides foundation for pages to take advantage of HTML5 features




    – Demo………
Creating Pages using new HTML5 Features

• Examples of using HTML5 Functionality in SharePoint 2010
    –   Using Scalable Vector Graphics (SVG)
    –   Using the Canvas
    –   Using the Video element
    –   Using Geolocation




    – Demo………
Adding Support for IE8 and IE7
What About IE8 and IE7?

• IE8 and IE7 Still Make Up Significant Percentage of Browser Base
    –   Graphic on this slide show stats across Internet Users
    –   SharePoint environment are even more reliant on IE8 and IE7
    –   Neither IE8 nor IE7 support most changes to HTML5
    –   Leveraging HTML5 while supporting IE8 and IE7 requires
        considerable effort
Adding Support for IE7 and IE8
• Support older browsers requires adding "polyfills"
    –   A polyfill is a shim which provides fallback functionality to older browsers
    –   Allows you to code to spec for HTML5, CSS3 and new JavaScript API
    –   Polyfills fill the gaps for older browsers to add support or degrade gracefully
    –   As users upgrade, your code doesn't change but user experience improves


• Supporting Older Browsers Begins with Modernizr
    –   Open source project that tests current browser for over 40 HTML5 features
    –   It adds classes to HTML elements that signify which features are supported
    –   It creates JavaScript object named Modernizr with Boolean properties
    –   It provides script loader with polyfills to backfill functionality in old browsers
Integrating Modernizr
When is HTML5 ‘done’?
References
References

• HTML5 cheat sheet
•   http://diveintohtml5.org/peeks-pokes-and-pointers.html

• Get help selecting the right framwork with http://microjs.com/
• Another template: http://html5reset.org
• Canvas Cheat Sheet:
•   http://html5samples.com/wp-content/uploads/2010/03/HTML5_Canvas_Cheat_Sheet.png

• Massive collection of tutorials:
• “The Ultimate HTML5 Tutorials and Useful Techniques”
•   http://www.dzinepress.com/2011/04/the-ultimate-html5-tutorials-and-useful-techniques/

• An oldie: http://www.html5rocks.com/
Further reading….
Q&A
Thank You

More Related Content

What's hot

WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript DevelopereilleSpirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
Tieturi Oy
 
Is it time to start using HTML 5
Is it time to start using HTML 5Is it time to start using HTML 5
Is it time to start using HTML 5
Ravi Raj
 

What's hot (20)

HTML5 and CSS3: does now really mean now?
HTML5 and CSS3: does now really mean now?HTML5 and CSS3: does now really mean now?
HTML5 and CSS3: does now really mean now?
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
 
Office script labs
Office script labsOffice script labs
Office script labs
 
BP101: A Modernized Workflow w/ Domino/XPages
BP101: A Modernized Workflow w/ Domino/XPagesBP101: A Modernized Workflow w/ Domino/XPages
BP101: A Modernized Workflow w/ Domino/XPages
 
Upgrading to Drupal 8: Benefits and Gotchas
Upgrading to Drupal 8: Benefits and GotchasUpgrading to Drupal 8: Benefits and Gotchas
Upgrading to Drupal 8: Benefits and Gotchas
 
Edge of the Web
Edge of the WebEdge of the Web
Edge of the Web
 
WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)
 
Making HTML5 Work Everywhere
Making HTML5 Work EverywhereMaking HTML5 Work Everywhere
Making HTML5 Work Everywhere
 
Web components, so close!
Web components, so close!Web components, so close!
Web components, so close!
 
Tips for Building your First XPages Java Application
Tips for Building your First XPages Java ApplicationTips for Building your First XPages Java Application
Tips for Building your First XPages Java Application
 
HTML5 in IE9
HTML5 in IE9HTML5 in IE9
HTML5 in IE9
 
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript DevelopereilleSpirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
Spirit-teknologiapäivät Petri Niemi HTML5 & JavaScript Developereille
 
IBM Domino Modernizing apps with Angularjs
IBM Domino Modernizing apps with AngularjsIBM Domino Modernizing apps with Angularjs
IBM Domino Modernizing apps with Angularjs
 
Is it time to start using HTML 5
Is it time to start using HTML 5Is it time to start using HTML 5
Is it time to start using HTML 5
 
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
27.1.2014, Tampere. Perinteinen mobiilimaailma murroksessa. Petri Niemi: Sing...
 
Get Involved with WordPress
Get Involved with WordPressGet Involved with WordPress
Get Involved with WordPress
 
Drupal 8 - Build Week Update
Drupal 8 - Build Week UpdateDrupal 8 - Build Week Update
Drupal 8 - Build Week Update
 
WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016WordPress Theme Performance - WP Vienna meetup 8.6.2016
WordPress Theme Performance - WP Vienna meetup 8.6.2016
 
HTML5 Essential Training
HTML5 Essential TrainingHTML5 Essential Training
HTML5 Essential Training
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 

Viewers also liked

virus programming using batch file
virus programming using batch filevirus programming using batch file
virus programming using batch file
Aris Suryadi
 
Batch file programming
Batch file programmingBatch file programming
Batch file programming
swapnil kapate
 
What is strategic fit
What is strategic fitWhat is strategic fit
What is strategic fit
Anu Vanu
 
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
Clément Wehrung
 
Network Security Threats and Solutions
Network Security Threats and SolutionsNetwork Security Threats and Solutions
Network Security Threats and Solutions
Colin058
 
Thermodynamics Chapter 3- Heat Transfer
Thermodynamics Chapter 3- Heat TransferThermodynamics Chapter 3- Heat Transfer
Thermodynamics Chapter 3- Heat Transfer
VJTI Production
 

Viewers also liked (20)

Computer virus
Computer virusComputer virus
Computer virus
 
Security
SecuritySecurity
Security
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Zeus
ZeusZeus
Zeus
 
Game Development Using HTML 5
Game Development Using HTML 5Game Development Using HTML 5
Game Development Using HTML 5
 
virus programming using batch file
virus programming using batch filevirus programming using batch file
virus programming using batch file
 
Hello world program
Hello world programHello world program
Hello world program
 
Jsf2 html5-jazoon
Jsf2 html5-jazoonJsf2 html5-jazoon
Jsf2 html5-jazoon
 
Batch file programming
Batch file programmingBatch file programming
Batch file programming
 
HTML 5 & CSS 3
HTML 5 & CSS 3HTML 5 & CSS 3
HTML 5 & CSS 3
 
Gears and HTML 5 @media Ajax London 2008
Gears and HTML 5 @media Ajax London 2008Gears and HTML 5 @media Ajax London 2008
Gears and HTML 5 @media Ajax London 2008
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & Friends
 
The Future of the Web: HTML5
The Future of the Web: HTML5The Future of the Web: HTML5
The Future of the Web: HTML5
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshell
 
What is strategic fit
What is strategic fitWhat is strategic fit
What is strategic fit
 
The 5 Senses Learning Game
The 5 Senses Learning GameThe 5 Senses Learning Game
The 5 Senses Learning Game
 
Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3
 
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
ePub 3, HTML 5 & CSS 3 (+ Fixed-Layout)
 
Network Security Threats and Solutions
Network Security Threats and SolutionsNetwork Security Threats and Solutions
Network Security Threats and Solutions
 
Thermodynamics Chapter 3- Heat Transfer
Thermodynamics Chapter 3- Heat TransferThermodynamics Chapter 3- Heat Transfer
Thermodynamics Chapter 3- Heat Transfer
 

Similar to Html5 with SharePoint 2010

Html5 today
Html5 todayHtml5 today
Html5 today
Roy Yu
 
Koubei banquet 30
Koubei banquet 30Koubei banquet 30
Koubei banquet 30
Koubei UED
 
夜宴30期《HTML5 is coming》
夜宴30期《HTML5 is coming》夜宴30期《HTML5 is coming》
夜宴30期《HTML5 is coming》
Koubei Banquet
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
GeneXus
 
jQuery Conference 2012 keynote
jQuery Conference 2012 keynotejQuery Conference 2012 keynote
jQuery Conference 2012 keynote
dmethvin
 
UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7
Hisham Mat Hussin
 

Similar to Html5 with SharePoint 2010 (20)

Everything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 minEverything you need to know about HTML5 in 15 min
Everything you need to know about HTML5 in 15 min
 
Html5 today
Html5 todayHtml5 today
Html5 today
 
Open Apereo - Web components workshop
Open Apereo - Web components workshopOpen Apereo - Web components workshop
Open Apereo - Web components workshop
 
HTML5--The 30,000' View (A fast-paced overview of HTML5)
HTML5--The 30,000' View (A fast-paced overview of HTML5)HTML5--The 30,000' View (A fast-paced overview of HTML5)
HTML5--The 30,000' View (A fast-paced overview of HTML5)
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Koubei banquet 30
Koubei banquet 30Koubei banquet 30
Koubei banquet 30
 
夜宴30期《HTML5 is coming》
夜宴30期《HTML5 is coming》夜宴30期《HTML5 is coming》
夜宴30期《HTML5 is coming》
 
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
 
Html5
Html5Html5
Html5
 
Html 5 Features And Benefits
Html 5 Features And Benefits  Html 5 Features And Benefits
Html 5 Features And Benefits
 
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUGSharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
 
SharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUGSharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUG
 
HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5HTML5 Introduction – Features and Resources for HTML5
HTML5 Introduction – Features and Resources for HTML5
 
HTML5 Technical Executive Summary
HTML5 Technical Executive SummaryHTML5 Technical Executive Summary
HTML5 Technical Executive Summary
 
jQuery Conference 2012 keynote
jQuery Conference 2012 keynotejQuery Conference 2012 keynote
jQuery Conference 2012 keynote
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7UMK Lecture 5 - HTML5 latest v7
UMK Lecture 5 - HTML5 latest v7
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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...
 

Html5 with SharePoint 2010

  • 1. Extending SharePoint 2010 with HTML 5 Hemant Joshi Senior Consultant , IW Hemant.joshi@neudesic.com
  • 2. Session Objectives and Takeaways  Brief tour of HTML5  Leveraging HTML5 Features in SharePoint 2010  Adding Support for IE8 and IE7  References….
  • 4. Brief History of HTML and CSS • HTML 3.2 and CSS 1.0 (1997) – Browser wars between Netscape vs. Internet Explorer • HTML 4.01 and CSS 2.0 (1999) – Exit Netscape – Enter FireFox, Opera, Safari, etc. • XHTML 1.0 and CSS 2.1 (2000) – HTML content pages written as valid XML documents SharePoint 2010 lives here • HTML 5 and CSS 3.0 (2005) – Rejects the constraints added by XHTML – Standardizes new HTML elements, CSS properties and JavaScript APIs
  • 5. Five things you need to know about HTML5! 1. Its not once big thing. 2. You don’t need to throw anything away. 3. Its easy to get started. 4. It already works. 5. Its here to stay.
  • 7. Its here to stay…
  • 8. HTML is New HTML5 This is the HTML5 doctype: <!DOCTYPE html> That’s it. Just 15 characters. It’s so easy, you can type it by hand..
  • 9. Moving to HTML5 • Primary Motivations – To write HTML that works consistently across all modern browsers – To take advantage of the of the new JavaScript APIs – To eliminate need for Flash and other browser-specific plug-ins – To target mobile devices and the CEO's iPad • Primary Pain Points – Today's "modern" browsers only support portions of HTML5 specification – Full HTML5 specification support across modern browsers anticipated in 2022 – Internet Explorer (IE) does not offer HTML5 tag support until IE9 – IE8 and IE7 are difficult to support in HTML5 Websites
  • 12. Leveraging HTML5 Features in SharePoint 2010
  • 13. It has built in support, but… +
  • 14. SharePoint As of Today…
  • 15. SharePoint As of Today…
  • 16. Getting it Working… • <!DOCTYPE html> • Internet Explorer 9 compatibility – <meta http-equiv="X-UA-Compatible" content="IE=9"/> – Potential issues and workarounds
  • 17. Using HTML5 in SharePoint Master Page
  • 18. Web Pages: Before and After
  • 19. HTML5 Master Page • Let's See a custom master page for SharePoint 2010 that… – uses the HTML5 doctype – provides foundation for pages to take advantage of HTML5 features – Demo………
  • 20. Creating Pages using new HTML5 Features • Examples of using HTML5 Functionality in SharePoint 2010 – Using Scalable Vector Graphics (SVG) – Using the Canvas – Using the Video element – Using Geolocation – Demo………
  • 21. Adding Support for IE8 and IE7
  • 22. What About IE8 and IE7? • IE8 and IE7 Still Make Up Significant Percentage of Browser Base – Graphic on this slide show stats across Internet Users – SharePoint environment are even more reliant on IE8 and IE7 – Neither IE8 nor IE7 support most changes to HTML5 – Leveraging HTML5 while supporting IE8 and IE7 requires considerable effort
  • 23. Adding Support for IE7 and IE8 • Support older browsers requires adding "polyfills" – A polyfill is a shim which provides fallback functionality to older browsers – Allows you to code to spec for HTML5, CSS3 and new JavaScript API – Polyfills fill the gaps for older browsers to add support or degrade gracefully – As users upgrade, your code doesn't change but user experience improves • Supporting Older Browsers Begins with Modernizr – Open source project that tests current browser for over 40 HTML5 features – It adds classes to HTML elements that signify which features are supported – It creates JavaScript object named Modernizr with Boolean properties – It provides script loader with polyfills to backfill functionality in old browsers
  • 25. When is HTML5 ‘done’?
  • 27. References • HTML5 cheat sheet • http://diveintohtml5.org/peeks-pokes-and-pointers.html • Get help selecting the right framwork with http://microjs.com/ • Another template: http://html5reset.org • Canvas Cheat Sheet: • http://html5samples.com/wp-content/uploads/2010/03/HTML5_Canvas_Cheat_Sheet.png • Massive collection of tutorials: • “The Ultimate HTML5 Tutorials and Useful Techniques” • http://www.dzinepress.com/2011/04/the-ultimate-html5-tutorials-and-useful-techniques/ • An oldie: http://www.html5rocks.com/
  • 29. Q&A