SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
HTML5 Introduction
                 Ynon Perek

Wednesday, January 30, 13
Agenda

                  HTML History

                  HTML5 Rules

                  New Features

                  Browser Support

                  HTML5 Page Structure



Wednesday, January 30, 13
In The Beginning
                                                                    While working at CERN
                                                                    in the 90s, Berners-Lee
                                                                    develops WWW

                                                                    1991 The first web site
                                                                    (CERN’s info page)

                                                                    1994 Berners-Lee
                                                                    founded the W3C
                   http://www.flickr.com/photos/tanaka/3212373419/




Wednesday, January 30, 13
1991 HTML1


                  Described in a document called “HTML Tags”

                  Included 20 elements

                  Influenced by SGML




Wednesday, January 30, 13
1995 HTML2

                  One year after
                  Netscape was founded

                  Forms

                  Tables

                  Image Maps


                                         http://www.flickr.com/photos/kalleboo/2214787531/




Wednesday, January 30, 13
1997 HTML3.2
                  Standardizing browser
                  wars

                  Dropping Netscape’s
                  blink and MS marquee

                  On the right:
                  Blue - IE
                  Light green - Netscape

                                           http://en.wikipedia.org/wiki/File:Browser_Wars.svg




Wednesday, January 30, 13
1999 HTML4
                  Browser war was over.
                  MS won

                  Many new elements,
                  including iframe, label,
                  legend, object

                  Deprecated: applet,
                  center, font, menu,
                  strike
                                             http://www.flickr.com/photos/daniello/422213306/




Wednesday, January 30, 13
After The Browser Wars

                              W3C starts to work on
                              XHTML, MathML, SVG
                              and others XML based
                              technologies

                              HTML is considered
                              “finished”




Wednesday, January 30, 13
HTML4
             Suitable for web sites, not
             web applications




Wednesday, January 30, 13
2004 WHATWG

                  The Web Hypetertext Application Technology
                  Working Group came to life in 2004 to bring life
                  into HTML

                  It was founded by Apple, Mozilla and Opera

                  Published a proposal for Web Applications 1.0
                  spec, which has later evolved into HTML5




Wednesday, January 30, 13
2009 HTML5


                  No more XHTML

                  Many new elements

                  Web Application Oriented




Wednesday, January 30, 13
State of HTML5

                  Still In Draft

                  Candidate Recommendations stage during 2012

                  W3C Recommendation deadline: 2022

                  However, many parts of the recommendations are
                  fully functional today




Wednesday, January 30, 13
Web Tech History
                  1991 HTML      1999 HTML4

                  1995 HTML2     2000 XHTML1

                  1996 CSS1 +    2002 Tableless Web
                  JavaScript     Design

                  1997 HTML3.2   2005 Ajax

                  1998 CSS2      2009 HTML5




Wednesday, January 30, 13
HTML5 Vision



Wednesday, January 30, 13
Paving The Cow Path
                  The WHATWG took the time to understand what
                  everyone does, analyzed good practices and
                  standardized them

                  This leads to evolution and not revolution




Wednesday, January 30, 13
Utility Over Purity
                  HTML5 is overwhelmingly practical, allowing
                  many code that used to be invalid and making
                  developers lives easier

                  Less code, less headaches, more fun.




Wednesday, January 30, 13
Content & Presentation
                  HTML5 deprecates many old presentational
                  elements in favor of CSS.

                  Enhancements in CSS3 selectors enable better
                  separation between content and presentation




Wednesday, January 30, 13
Plugin Free Paradigm
                  Provide native APIs for everything that used to
                  required a proprietary plugin

                  Flash is no longer mandatory




Wednesday, January 30, 13
HTML5 Vision

                  Paving The Cow Path

                  Utility over Purity

                  Separation of Content and Presentation

                  Plugin Free




Wednesday, January 30, 13
Q&A


                            http://www.flickr.com/photos/92163630@N00/95509221/




Wednesday, January 30, 13
The Rules



Wednesday, January 30, 13
Doctype

                  Remove old clutter from the doctype declaration

                  For an HTML5 page, use:
                  <!DOCTYPE html>

                  MIME Type: text/html




Wednesday, January 30, 13
Character Encoding

                  Remove old clutter from encoding definitions

                  Use:
                  <meta charset=”UTF-8”>

                  Note no need to close meta tags

                  Can also use the old syntax




Wednesday, January 30, 13
Tag Fun

                  No need to close void elements

                  both <br /> and <br> are valid

                  HTML Validator:
                  http://validator.w3.org/




Wednesday, January 30, 13
HTML5 New Features


                  New Syntactic Elements

                  New Semantic Elements

                  New APIs




Wednesday, January 30, 13
HTML5 Semantics
                  WHATWG analyzed and learned the uses of <div>
                  elements in many web sites

                  They have found a few common usages

                  HTML5 includes specialized elements for these
                  common usages

                  Can still use a <div>



Wednesday, January 30, 13
Semantic Elements
                  header: header content

                  footer: footer content

                  section: a section of articles

                  article: articles are arranged inside sections

                  aside:    related content

                  nav:      navigational element


Wednesday, January 30, 13
New APIs
                  Web Storage            Geolocation

                  Web SQL                Device Orientation

                  Application Cache      Forms

                  Web Workers            Audio & Video

                  Web Sockets            Canvas

                  Desktop Notifications   Web GL

                  Drag & Drop            History API

                  File System API        And More...



Wednesday, January 30, 13
HTML
             Polyfills
             Replacement library for
             older browsers
             Make a smooth switch to
             HTML5

                                       http://www.flickr.com/photos/tuba/2424237036/




Wednesday, January 30, 13
HTML5 Tools

                  HTML5 Boilerplate. A base HTML5 template with
                  backward compatibility and feature detection

                  Modernizr. A feature detection js library

                  Polyfills:
                  https://github.com/Modernizr/Modernizr/wiki/
                  HTML5-Cross-browser-Polyfills




Wednesday, January 30, 13
Demo: HTML
                  Boilerplate

                  Page Structure

                  Best practices

                  Feature Detection




Wednesday, January 30, 13
HTML5 IDEs

                  WebStorm

                  Komodo Edit

                  Eclipse / Visual Studio

                  gVim

                  Aptana Studio



Wednesday, January 30, 13
HTML5 Lab

                  Build a home page for your resume in HTML5 with
                  no styling

                  Describe your job history, hobbies and education

                  Use the boilerplate and semantic elements

                  Bonus: Add some CSS Styling




Wednesday, January 30, 13

Más contenido relacionado

Destacado

Evaluating Websites
Evaluating WebsitesEvaluating Websites
Evaluating WebsitesLisa Barnett
 
Html structure
Html structureHtml structure
Html structureakkias
 
Websites: The Good, the Bad and the Ugly
Websites: The Good, the Bad and the UglyWebsites: The Good, the Bad and the Ugly
Websites: The Good, the Bad and the UglyBlackbaud
 
The Worst Website Ever - Case Study Lings Cars
The Worst Website Ever - Case Study Lings CarsThe Worst Website Ever - Case Study Lings Cars
The Worst Website Ever - Case Study Lings CarsMarcin Kosedowski
 
01 Mobile Web Introduction
01 Mobile Web Introduction01 Mobile Web Introduction
01 Mobile Web IntroductionYnon Perek
 
основні теги мови Html
основні теги мови Htmlосновні теги мови Html
основні теги мови HtmlLarisa023
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperMalathi Senthil
 
Диплом программиста получают в Витебском госуниверситете
Диплом программиста получают в Витебском госуниверситетеДиплом программиста получают в Витебском госуниверситете
Диплом программиста получают в Витебском госуниверситетеLiliya Alizarchik
 
Html5 structure & semantic
Html5 structure & semanticHtml5 structure & semantic
Html5 structure & semanticMuktadiur Rahman
 
Scalable JavaScript
Scalable JavaScriptScalable JavaScript
Scalable JavaScriptYnon Perek
 
маркетинг кит - Seo - email version (01.01.2015)
маркетинг кит - Seo - email version (01.01.2015)маркетинг кит - Seo - email version (01.01.2015)
маркетинг кит - Seo - email version (01.01.2015)SEOEXPERT_Kazakhstan
 
Услуга SEO
Услуга SEOУслуга SEO
Услуга SEONetpeak
 
Writing Reusable Web Components with jQuery and jQuery UI
Writing Reusable Web Components with jQuery and jQuery UIWriting Reusable Web Components with jQuery and jQuery UI
Writing Reusable Web Components with jQuery and jQuery UIYnon Perek
 
03 Advanced JavaScript
03 Advanced JavaScript03 Advanced JavaScript
03 Advanced JavaScriptYnon Perek
 
Frontend Engineer Toolbox
Frontend Engineer ToolboxFrontend Engineer Toolbox
Frontend Engineer ToolboxYnon Perek
 

Destacado (20)

Web comparison
Web comparisonWeb comparison
Web comparison
 
Evaluating Websites
Evaluating WebsitesEvaluating Websites
Evaluating Websites
 
Html structure
Html structureHtml structure
Html structure
 
Websites: The Good, the Bad and the Ugly
Websites: The Good, the Bad and the UglyWebsites: The Good, the Bad and the Ugly
Websites: The Good, the Bad and the Ugly
 
The Worst Website Ever - Case Study Lings Cars
The Worst Website Ever - Case Study Lings CarsThe Worst Website Ever - Case Study Lings Cars
The Worst Website Ever - Case Study Lings Cars
 
01 Mobile Web Introduction
01 Mobile Web Introduction01 Mobile Web Introduction
01 Mobile Web Introduction
 
основні теги мови Html
основні теги мови Htmlосновні теги мови Html
основні теги мови Html
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question Paper
 
Диплом программиста получают в Витебском госуниверситете
Диплом программиста получают в Витебском госуниверситетеДиплом программиста получают в Витебском госуниверситете
Диплом программиста получают в Витебском госуниверситете
 
Html5 structure & semantic
Html5 structure & semanticHtml5 structure & semantic
Html5 structure & semantic
 
HTML - Structure
HTML - StructureHTML - Structure
HTML - Structure
 
Intro to SVGs
Intro to SVGsIntro to SVGs
Intro to SVGs
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
Scalable JavaScript
Scalable JavaScriptScalable JavaScript
Scalable JavaScript
 
маркетинг кит - Seo - email version (01.01.2015)
маркетинг кит - Seo - email version (01.01.2015)маркетинг кит - Seo - email version (01.01.2015)
маркетинг кит - Seo - email version (01.01.2015)
 
Html5 apis
Html5 apisHtml5 apis
Html5 apis
 
Услуга SEO
Услуга SEOУслуга SEO
Услуга SEO
 
Writing Reusable Web Components with jQuery and jQuery UI
Writing Reusable Web Components with jQuery and jQuery UIWriting Reusable Web Components with jQuery and jQuery UI
Writing Reusable Web Components with jQuery and jQuery UI
 
03 Advanced JavaScript
03 Advanced JavaScript03 Advanced JavaScript
03 Advanced JavaScript
 
Frontend Engineer Toolbox
Frontend Engineer ToolboxFrontend Engineer Toolbox
Frontend Engineer Toolbox
 

Similar a HTML5 Introduction Agenda

Making Rich Internet Applications Accessible Through jQuery
Making Rich Internet Applications Accessible Through jQueryMaking Rich Internet Applications Accessible Through jQuery
Making Rich Internet Applications Accessible Through jQueryAEGIS-ACCESSIBLE Projects
 
The journey to build a more usable toolbar for Drupal 8
The journey to build a more usable toolbar for Drupal 8 The journey to build a more usable toolbar for Drupal 8
The journey to build a more usable toolbar for Drupal 8 dcmistry
 
Web 2.0: Behind The Hype Panel
Web 2.0: Behind The Hype PanelWeb 2.0: Behind The Hype Panel
Web 2.0: Behind The Hype Panellisbk
 
Open Apereo - Web components workshop
Open Apereo - Web components workshopOpen Apereo - Web components workshop
Open Apereo - Web components workshopbtopro
 
HTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
HTML5 vs Flash : Term paper at VGSOM, IIT KharagpurHTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
HTML5 vs Flash : Term paper at VGSOM, IIT KharagpurKanishka Chakraborty
 
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...Beat Signer
 
Web 2.0 Rvce Mca
Web 2.0 Rvce McaWeb 2.0 Rvce Mca
Web 2.0 Rvce Mcasundeepa
 
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdooMartin Wittemann
 
Michael(tm) Smith WND09 Presentation
Michael(tm) Smith WND09 PresentationMichael(tm) Smith WND09 Presentation
Michael(tm) Smith WND09 PresentationMichael(tm) Smith
 
Webmontag München Cross Platform
Webmontag München Cross PlatformWebmontag München Cross Platform
Webmontag München Cross Platformwolframkriesing
 
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...Patrick Chanezon
 
Web 2.0: characteristics and tools (2010 eng)
Web 2.0: characteristics and tools (2010 eng)Web 2.0: characteristics and tools (2010 eng)
Web 2.0: characteristics and tools (2010 eng)Carlo Vaccari
 
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)HTML5 and the Open Web Platform - Web Technologies (1019888BNR)
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)Beat Signer
 
PHP and the Cloud (phpbenelux conference)
PHP and the Cloud (phpbenelux conference)PHP and the Cloud (phpbenelux conference)
PHP and the Cloud (phpbenelux conference)Ivo Jansch
 

Similar a HTML5 Introduction Agenda (20)

Making Rich Internet Applications Accessible Through jQuery
Making Rich Internet Applications Accessible Through jQueryMaking Rich Internet Applications Accessible Through jQuery
Making Rich Internet Applications Accessible Through jQuery
 
Html5 Seminario Tid
Html5  Seminario TidHtml5  Seminario Tid
Html5 Seminario Tid
 
The journey to build a more usable toolbar for Drupal 8
The journey to build a more usable toolbar for Drupal 8 The journey to build a more usable toolbar for Drupal 8
The journey to build a more usable toolbar for Drupal 8
 
Web 2.0: Behind The Hype Panel
Web 2.0: Behind The Hype PanelWeb 2.0: Behind The Hype Panel
Web 2.0: Behind The Hype Panel
 
Open Apereo - Web components workshop
Open Apereo - Web components workshopOpen Apereo - Web components workshop
Open Apereo - Web components workshop
 
HTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
HTML5 vs Flash : Term paper at VGSOM, IIT KharagpurHTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
HTML5 vs Flash : Term paper at VGSOM, IIT Kharagpur
 
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...
HTML5 and the Open Web Platform - Lecture 03 - Web Information Systems (WE-DI...
 
Swf search final
Swf search finalSwf search final
Swf search final
 
Web 2.0 Rvce Mca
Web 2.0 Rvce McaWeb 2.0 Rvce Mca
Web 2.0 Rvce Mca
 
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo
10 Jahre Webentwicklung - am Beispiel des Frameworks qooxdoo
 
HTML5 in IE9
HTML5 in IE9HTML5 in IE9
HTML5 in IE9
 
Michael(tm) Smith WND09 Presentation
Michael(tm) Smith WND09 PresentationMichael(tm) Smith WND09 Presentation
Michael(tm) Smith WND09 Presentation
 
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
 
Webmontag München Cross Platform
Webmontag München Cross PlatformWebmontag München Cross Platform
Webmontag München Cross Platform
 
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
 
Web 2.0: characteristics and tools (2010 eng)
Web 2.0: characteristics and tools (2010 eng)Web 2.0: characteristics and tools (2010 eng)
Web 2.0: characteristics and tools (2010 eng)
 
The beginnings of HTML5
The beginnings of HTML5The beginnings of HTML5
The beginnings of HTML5
 
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)HTML5 and the Open Web Platform - Web Technologies (1019888BNR)
HTML5 and the Open Web Platform - Web Technologies (1019888BNR)
 
Introduction To WCAG 2.0
Introduction To WCAG 2.0Introduction To WCAG 2.0
Introduction To WCAG 2.0
 
PHP and the Cloud (phpbenelux conference)
PHP and the Cloud (phpbenelux conference)PHP and the Cloud (phpbenelux conference)
PHP and the Cloud (phpbenelux conference)
 

Más de Ynon Perek

09 performance
09 performance09 performance
09 performanceYnon Perek
 
Mobile Web Intro
Mobile Web IntroMobile Web Intro
Mobile Web IntroYnon Perek
 
Qt multi threads
Qt multi threadsQt multi threads
Qt multi threadsYnon Perek
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile DevicesYnon Perek
 
Architecture app
Architecture appArchitecture app
Architecture appYnon Perek
 
Unit Testing JavaScript Applications
Unit Testing JavaScript ApplicationsUnit Testing JavaScript Applications
Unit Testing JavaScript ApplicationsYnon Perek
 
How to write easy-to-test JavaScript
How to write easy-to-test JavaScriptHow to write easy-to-test JavaScript
How to write easy-to-test JavaScriptYnon Perek
 
Introduction to Selenium and Ruby
Introduction to Selenium and RubyIntroduction to Selenium and Ruby
Introduction to Selenium and RubyYnon Perek
 
Introduction To Web Application Testing
Introduction To Web Application TestingIntroduction To Web Application Testing
Introduction To Web Application TestingYnon Perek
 
Qt Design Patterns
Qt Design PatternsQt Design Patterns
Qt Design PatternsYnon Perek
 
Web Application Security
Web Application SecurityWeb Application Security
Web Application SecurityYnon Perek
 

Más de Ynon Perek (20)

Regexp
RegexpRegexp
Regexp
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
09 performance
09 performance09 performance
09 performance
 
Mobile Web Intro
Mobile Web IntroMobile Web Intro
Mobile Web Intro
 
Qt multi threads
Qt multi threadsQt multi threads
Qt multi threads
 
Vimperl
VimperlVimperl
Vimperl
 
Syllabus
SyllabusSyllabus
Syllabus
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile Devices
 
Network
NetworkNetwork
Network
 
Architecture app
Architecture appArchitecture app
Architecture app
 
Cryptography
CryptographyCryptography
Cryptography
 
Unit Testing JavaScript Applications
Unit Testing JavaScript ApplicationsUnit Testing JavaScript Applications
Unit Testing JavaScript Applications
 
How to write easy-to-test JavaScript
How to write easy-to-test JavaScriptHow to write easy-to-test JavaScript
How to write easy-to-test JavaScript
 
Introduction to Selenium and Ruby
Introduction to Selenium and RubyIntroduction to Selenium and Ruby
Introduction to Selenium and Ruby
 
Introduction To Web Application Testing
Introduction To Web Application TestingIntroduction To Web Application Testing
Introduction To Web Application Testing
 
Accessibility
AccessibilityAccessibility
Accessibility
 
Angularjs
AngularjsAngularjs
Angularjs
 
Js memory
Js memoryJs memory
Js memory
 
Qt Design Patterns
Qt Design PatternsQt Design Patterns
Qt Design Patterns
 
Web Application Security
Web Application SecurityWeb Application Security
Web Application Security
 

HTML5 Introduction Agenda

  • 1. HTML5 Introduction Ynon Perek Wednesday, January 30, 13
  • 2. Agenda HTML History HTML5 Rules New Features Browser Support HTML5 Page Structure Wednesday, January 30, 13
  • 3. In The Beginning While working at CERN in the 90s, Berners-Lee develops WWW 1991 The first web site (CERN’s info page) 1994 Berners-Lee founded the W3C http://www.flickr.com/photos/tanaka/3212373419/ Wednesday, January 30, 13
  • 4. 1991 HTML1 Described in a document called “HTML Tags” Included 20 elements Influenced by SGML Wednesday, January 30, 13
  • 5. 1995 HTML2 One year after Netscape was founded Forms Tables Image Maps http://www.flickr.com/photos/kalleboo/2214787531/ Wednesday, January 30, 13
  • 6. 1997 HTML3.2 Standardizing browser wars Dropping Netscape’s blink and MS marquee On the right: Blue - IE Light green - Netscape http://en.wikipedia.org/wiki/File:Browser_Wars.svg Wednesday, January 30, 13
  • 7. 1999 HTML4 Browser war was over. MS won Many new elements, including iframe, label, legend, object Deprecated: applet, center, font, menu, strike http://www.flickr.com/photos/daniello/422213306/ Wednesday, January 30, 13
  • 8. After The Browser Wars W3C starts to work on XHTML, MathML, SVG and others XML based technologies HTML is considered “finished” Wednesday, January 30, 13
  • 9. HTML4 Suitable for web sites, not web applications Wednesday, January 30, 13
  • 10. 2004 WHATWG The Web Hypetertext Application Technology Working Group came to life in 2004 to bring life into HTML It was founded by Apple, Mozilla and Opera Published a proposal for Web Applications 1.0 spec, which has later evolved into HTML5 Wednesday, January 30, 13
  • 11. 2009 HTML5 No more XHTML Many new elements Web Application Oriented Wednesday, January 30, 13
  • 12. State of HTML5 Still In Draft Candidate Recommendations stage during 2012 W3C Recommendation deadline: 2022 However, many parts of the recommendations are fully functional today Wednesday, January 30, 13
  • 13. Web Tech History 1991 HTML 1999 HTML4 1995 HTML2 2000 XHTML1 1996 CSS1 + 2002 Tableless Web JavaScript Design 1997 HTML3.2 2005 Ajax 1998 CSS2 2009 HTML5 Wednesday, January 30, 13
  • 15. Paving The Cow Path The WHATWG took the time to understand what everyone does, analyzed good practices and standardized them This leads to evolution and not revolution Wednesday, January 30, 13
  • 16. Utility Over Purity HTML5 is overwhelmingly practical, allowing many code that used to be invalid and making developers lives easier Less code, less headaches, more fun. Wednesday, January 30, 13
  • 17. Content & Presentation HTML5 deprecates many old presentational elements in favor of CSS. Enhancements in CSS3 selectors enable better separation between content and presentation Wednesday, January 30, 13
  • 18. Plugin Free Paradigm Provide native APIs for everything that used to required a proprietary plugin Flash is no longer mandatory Wednesday, January 30, 13
  • 19. HTML5 Vision Paving The Cow Path Utility over Purity Separation of Content and Presentation Plugin Free Wednesday, January 30, 13
  • 20. Q&A http://www.flickr.com/photos/92163630@N00/95509221/ Wednesday, January 30, 13
  • 22. Doctype Remove old clutter from the doctype declaration For an HTML5 page, use: <!DOCTYPE html> MIME Type: text/html Wednesday, January 30, 13
  • 23. Character Encoding Remove old clutter from encoding definitions Use: <meta charset=”UTF-8”> Note no need to close meta tags Can also use the old syntax Wednesday, January 30, 13
  • 24. Tag Fun No need to close void elements both <br /> and <br> are valid HTML Validator: http://validator.w3.org/ Wednesday, January 30, 13
  • 25. HTML5 New Features New Syntactic Elements New Semantic Elements New APIs Wednesday, January 30, 13
  • 26. HTML5 Semantics WHATWG analyzed and learned the uses of <div> elements in many web sites They have found a few common usages HTML5 includes specialized elements for these common usages Can still use a <div> Wednesday, January 30, 13
  • 27. Semantic Elements header: header content footer: footer content section: a section of articles article: articles are arranged inside sections aside: related content nav: navigational element Wednesday, January 30, 13
  • 28. New APIs Web Storage Geolocation Web SQL Device Orientation Application Cache Forms Web Workers Audio & Video Web Sockets Canvas Desktop Notifications Web GL Drag & Drop History API File System API And More... Wednesday, January 30, 13
  • 29. HTML Polyfills Replacement library for older browsers Make a smooth switch to HTML5 http://www.flickr.com/photos/tuba/2424237036/ Wednesday, January 30, 13
  • 30. HTML5 Tools HTML5 Boilerplate. A base HTML5 template with backward compatibility and feature detection Modernizr. A feature detection js library Polyfills: https://github.com/Modernizr/Modernizr/wiki/ HTML5-Cross-browser-Polyfills Wednesday, January 30, 13
  • 31. Demo: HTML Boilerplate Page Structure Best practices Feature Detection Wednesday, January 30, 13
  • 32. HTML5 IDEs WebStorm Komodo Edit Eclipse / Visual Studio gVim Aptana Studio Wednesday, January 30, 13
  • 33. HTML5 Lab Build a home page for your resume in HTML5 with no styling Describe your job history, hobbies and education Use the boilerplate and semantic elements Bonus: Add some CSS Styling Wednesday, January 30, 13