SlideShare a Scribd company logo
HYPERTEXT MARKUP LANGUAGE VERSION 5




           A N A S A B U D AYA H

           www.abudayah.com
Rough Timeline of Web Technologies

   1991 HTML
   1994 HTML 2
   1996 CSS + JavaScript
   1997 HTML 4
   1998 CSS 2
   2000 XHTML 1
   2002 Tableless Web Design
   2005 AJAX
   2009 HTML 5* + CSS 3*
What is HTML5?

  •   Its open source

  •   Standard technology (WHATWG + W3C)
      HTML5 will be the new standard for HTML, XHTML, and the HTML DOM.

      HTML5 is a cooperation between the World Wide Web Consortium (W3C) and
      the Web Hypertext Application Technology Working Group (WHATWG).

  •   Successor of HTML v4.01 & XHTML v1.0
Rules:
  • More markup to replace scripting.

  • HTML5 should be device independent.

  • The development process should be visible to the public.
New Features:

  Some of the most interesting new features in HTML5:

       •   The canvas element for drawing.
       •   The video and audio elements for media playback.
       •   Better support for local offline storage.
       •   New content specific elements, like article, footer, header, nav, section.
       •   New form controls, like calendar, date, time, email, url, search..
New Elements in HTML5:
   New Markup Elements
   <header>, <nav>, <aside>, <footer>…

   New Media Elements
   <Audio>, <video>, <source>, <embed>.

   The Canvas Element
   <canvas>

   New Form Elements
   <datalist>, <keygen>…

   New Input Type Attribute Values
   Tel, search, url, email, datetime, color, number…

   HTML5 Standard Attributes:
   item{empty/url}, subject{id}, draggable{true/false/auto}..
New Event Attributes:
    Window Event:
    Onafterprint, onerror, ononline, onoffline…

    Form Events
    *onreset event was deleted
    Oninput, oninvalid, onforminput…

    Keybord Events
    No new events..

    Mouse Events
    Ondragstart, ondrag, ondrop..

    Media Events
    Onplay, onpause, onprogress..




    More: http://www.w3schools.com/html5/html5_reference.asp
What is HTML5?
HTML4 Page layout:
                                                       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
                                                       1.0 Transitional//EN"
               <div id=“header”>                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
                                                       transitional.dtd">
                 <div id=“nav”>                        <html>
                                                       <body>
                                                       <div id=“header”>
      <div id=“article”>                                     <h1>header</h1>
                                                       </div>
                                    <div id=“aside”>   <div id=“header”>
     <div id=“section”>                                      <a href=“home.html”>Home</a>
                                                             <a href=“about.html”>About</a>
                                                       </div>
                                                       <div id=“article”>
                                                             <h1>Article title..</h1>
                <div id=“footer”>                            <p>Text…..</p>
                                                       </div>
                                                       <div id=“section”>
                                                             <p>Section1</p>
                                                       </div>
                                                       <div id=“aside”>
                                                             <p>About us…<p>
                                                       </div>
                                                       <div id=“footer”>
                                                             <p>All rights received</p>
                                                       </div>
                                                       </body>
                                                       </html>
HTML5 Page layout:
                                                              <!DOCTYPE HTML>
                                                              <html>
                         <header>                             <body>
                                                              <header>
                          <nav>                                     <h1>Title</h1>
                                                              </header>
                                                              <nav>
             <article>                                              <a href=“home.html”>Home</a>
                                                                    <a href=“about.html”>About</a>
                                              <aside>         </nav>
             <section>                                        <article>
                                                                    <h1>Article title..</h1>
                                                                    <p>Text…..</p>
                                                              </article>
                                                              <section>
                         <footer>                                   <p>Section1</p>
                                                              </section>
                                                              <aside>
                                                                    <p>About us…<p>
 <header>       Defines a header for a section or page        </aside>
 <nav>          Defines navigation links                      <footer>
                                                                    <p>All rights received</p>
 <aside>        Defines content aside from the page content   </footer>
                                                              </body>
 <article>      Defines an article                            </html>
 <section>      Defines a section
 <footer>       Defines a footer for a section or page
What is HTML5?
HTML5 vs. Flash/Silverlight:

                                        HTML5                          FLASH / Silverlight

     Property        + Open source                           - Proprietary (Adobe).
                     - not yet implemented everywhere.       + Flash present on almost every
   Prevalence
                                                             computers.
                     + no need for embed code                - need for embed code
   Multimedia
                     - Dose not use a specific format.       + use default format (FLV,MP3).
                     + not need for external plugins.        - need for external plugins.
    Browsers
                     - no browser fully support for HTML5.   - Crashes browser.
                                                             - Not support for navigation keys like
                                                             Back button.
                     + faster                                - Slower
  Capacity/load
                                                             - Take much requirements on CPU.
       SEO           + friendly with search engines.         - Not friendly with search engines.


 Chart on Flash and html5 canvas:
 http://www.zingchart.com/flash-and-html5-canvas/
HTML5 Examples:

 1. Basic page.
      Basic web page using header & nav & aside elements.
      http://abudayah.com/files/html5/basicpage/

 2. Multimedia
      Audio & Video
      http://abudayah.com/files/html5/multimedia/

 3. Drag and Drop
      Drag and drop demo in a HTML document, using the
          HTML5 drag and drop API.
      http://abudayah.com/files/html5/dragdrop/

 4. Canvas:
      Drawing Graphics with Canvas
      http://abudayah.com/files/html5/canvas/
HTML5 Examples:
  Slides:
  http://slides.html5rocks.com

  Get Location:
  http://html5demos.com/geo

  Upload Files:
  http://email.jeeran.com

  Image gallery:
  http://www.apple.com/html5/showcase/gallery
  More: http://www.apple.com/html5

  interactive comic:
  http://www.nevermindthebullets.com/

  CAPMAN
  http://www.kesiev.com/akihabara/demo/game-capman.html

  Google smash:
  http://mrdoob.com/92/Google_Gravity_HTML5

  Canvas Video:
  http://craftymind.com/factory/html5video/CanvasVideo.html
Is it possible to build sites on HTML5 now?

    NO!.. Because:
       1. is not completed.
       2. Not fully browser support.
       3. DRM issues.

    How can we move forward ?
       • It is a good time for learning.
       • Build web pages HTML4/XHTML + html5 + JS
       • Building browser-specific apps.
       • Focusing on the mobile.
Thank you :)

                            Anas AbuDayah
                           Front-end Web Developer

                           Twitter: @abudayah

                           www.abudayah.com

Last update: 11 Aug 2011

More Related Content

KEY
2022 HTML5: The future is now
PPTX
Cascading Style Sheets
PDF
Intro to HTML 5 / CSS 3
PPTX
Introduction to HTML5
PDF
Zen codingcheatsheet
PPT
LIS3353 SP12 Week 4
PDF
Please Don't Touch the Slow Parts V3
PPT
2022 HTML5: The future is now
Cascading Style Sheets
Intro to HTML 5 / CSS 3
Introduction to HTML5
Zen codingcheatsheet
LIS3353 SP12 Week 4
Please Don't Touch the Slow Parts V3

What's hot (20)

PDF
Please dont touch-3.5
PPT
Lecture1and2
PDF
Grok Drupal (7) Theming
PDF
Grok Drupal (7) Theming - 2011 Feb update
PDF
HTML5, just another presentation :)
PDF
HTML5, The Open Web, and what it means for you - Altran
PDF
ePUB 3 and Publishing e-books
PDF
Intro to Theming Drupal, FOSSLC Summer Camp 2010
PDF
Design to Theme @ CMSExpo
PPTX
UVA MDST 3073 CSS 2012-09-20
PDF
How to create a basic template
KEY
Html5 Brown Bag
KEY
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
PDF
jQuery Mobile: For Fun and Profit
ZIP
Theme Kickstart
ODP
Drupal Theme Development - DrupalCon Chicago 2011
PDF
Introduction to Drupal (7) Theming
PDF
Drupal 7 Theme System
PPTX
Twitter bootstrap
PDF
W3C XBL 2.0 and Widgets 1.0
Please dont touch-3.5
Lecture1and2
Grok Drupal (7) Theming
Grok Drupal (7) Theming - 2011 Feb update
HTML5, just another presentation :)
HTML5, The Open Web, and what it means for you - Altran
ePUB 3 and Publishing e-books
Intro to Theming Drupal, FOSSLC Summer Camp 2010
Design to Theme @ CMSExpo
UVA MDST 3073 CSS 2012-09-20
How to create a basic template
Html5 Brown Bag
Grok Drupal (7) Theming (presented at DrupalCon San Francisco)
jQuery Mobile: For Fun and Profit
Theme Kickstart
Drupal Theme Development - DrupalCon Chicago 2011
Introduction to Drupal (7) Theming
Drupal 7 Theme System
Twitter bootstrap
W3C XBL 2.0 and Widgets 1.0
Ad

Similar to What is HTML5? (20)

PDF
Html5 quick-learning-quide
PDF
Html5 quick-learning-quide
PDF
Html5 quick-learning-quide
PDF
Html5 quick learning guide
PDF
Html5 training
PPTX
Unit 1wt
PPTX
Unit 1wt
PDF
Html5 semantics
PDF
A Primer on HTML 5 - By Nick Armstrong
PDF
Html5 & CSS overview
PPTX
Html workshop 1
PDF
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
PPTX
Html workshop 1
DOCX
Campers Packet
PPTX
Day of code
PPT
Introduction to HTML
PPT
The Ulta-Handy HTML Guide
PPTX
HTML Training Course in Persian
PPTX
Web technologies: Lesson 2
DOCX
Html basics
Html5 quick-learning-quide
Html5 quick-learning-quide
Html5 quick-learning-quide
Html5 quick learning guide
Html5 training
Unit 1wt
Unit 1wt
Html5 semantics
A Primer on HTML 5 - By Nick Armstrong
Html5 & CSS overview
Html workshop 1
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Html workshop 1
Campers Packet
Day of code
Introduction to HTML
The Ulta-Handy HTML Guide
HTML Training Course in Persian
Web technologies: Lesson 2
Html basics
Ad

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Institutional Correction lecture only . . .
PPTX
Pharma ospi slides which help in ospi learning
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Cell Structure & Organelles in detailed.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Pre independence Education in Inndia.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
PPH.pptx obstetrics and gynecology in nursing
Institutional Correction lecture only . . .
Pharma ospi slides which help in ospi learning
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Renaissance Architecture: A Journey from Faith to Humanism
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Cell Structure & Organelles in detailed.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
102 student loan defaulters named and shamed – Is someone you know on the list?
Pre independence Education in Inndia.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Anesthesia in Laparoscopic Surgery in India
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

What is HTML5?

  • 1. HYPERTEXT MARKUP LANGUAGE VERSION 5 A N A S A B U D AYA H www.abudayah.com
  • 2. Rough Timeline of Web Technologies 1991 HTML 1994 HTML 2 1996 CSS + JavaScript 1997 HTML 4 1998 CSS 2 2000 XHTML 1 2002 Tableless Web Design 2005 AJAX 2009 HTML 5* + CSS 3*
  • 3. What is HTML5? • Its open source • Standard technology (WHATWG + W3C) HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). • Successor of HTML v4.01 & XHTML v1.0
  • 4. Rules: • More markup to replace scripting. • HTML5 should be device independent. • The development process should be visible to the public.
  • 5. New Features: Some of the most interesting new features in HTML5: • The canvas element for drawing. • The video and audio elements for media playback. • Better support for local offline storage. • New content specific elements, like article, footer, header, nav, section. • New form controls, like calendar, date, time, email, url, search..
  • 6. New Elements in HTML5: New Markup Elements <header>, <nav>, <aside>, <footer>… New Media Elements <Audio>, <video>, <source>, <embed>. The Canvas Element <canvas> New Form Elements <datalist>, <keygen>… New Input Type Attribute Values Tel, search, url, email, datetime, color, number… HTML5 Standard Attributes: item{empty/url}, subject{id}, draggable{true/false/auto}..
  • 7. New Event Attributes: Window Event: Onafterprint, onerror, ononline, onoffline… Form Events *onreset event was deleted Oninput, oninvalid, onforminput… Keybord Events No new events.. Mouse Events Ondragstart, ondrag, ondrop.. Media Events Onplay, onpause, onprogress.. More: http://www.w3schools.com/html5/html5_reference.asp
  • 9. HTML4 Page layout: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <div id=“header”> "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> <div id=“nav”> <html> <body> <div id=“header”> <div id=“article”> <h1>header</h1> </div> <div id=“aside”> <div id=“header”> <div id=“section”> <a href=“home.html”>Home</a> <a href=“about.html”>About</a> </div> <div id=“article”> <h1>Article title..</h1> <div id=“footer”> <p>Text…..</p> </div> <div id=“section”> <p>Section1</p> </div> <div id=“aside”> <p>About us…<p> </div> <div id=“footer”> <p>All rights received</p> </div> </body> </html>
  • 10. HTML5 Page layout: <!DOCTYPE HTML> <html> <header> <body> <header> <nav> <h1>Title</h1> </header> <nav> <article> <a href=“home.html”>Home</a> <a href=“about.html”>About</a> <aside> </nav> <section> <article> <h1>Article title..</h1> <p>Text…..</p> </article> <section> <footer> <p>Section1</p> </section> <aside> <p>About us…<p> <header> Defines a header for a section or page </aside> <nav> Defines navigation links <footer> <p>All rights received</p> <aside> Defines content aside from the page content </footer> </body> <article> Defines an article </html> <section> Defines a section <footer> Defines a footer for a section or page
  • 12. HTML5 vs. Flash/Silverlight: HTML5 FLASH / Silverlight Property + Open source - Proprietary (Adobe). - not yet implemented everywhere. + Flash present on almost every Prevalence computers. + no need for embed code - need for embed code Multimedia - Dose not use a specific format. + use default format (FLV,MP3). + not need for external plugins. - need for external plugins. Browsers - no browser fully support for HTML5. - Crashes browser. - Not support for navigation keys like Back button. + faster - Slower Capacity/load - Take much requirements on CPU. SEO + friendly with search engines. - Not friendly with search engines. Chart on Flash and html5 canvas: http://www.zingchart.com/flash-and-html5-canvas/
  • 13. HTML5 Examples: 1. Basic page. Basic web page using header & nav & aside elements. http://abudayah.com/files/html5/basicpage/ 2. Multimedia Audio & Video http://abudayah.com/files/html5/multimedia/ 3. Drag and Drop Drag and drop demo in a HTML document, using the HTML5 drag and drop API. http://abudayah.com/files/html5/dragdrop/ 4. Canvas: Drawing Graphics with Canvas http://abudayah.com/files/html5/canvas/
  • 14. HTML5 Examples: Slides: http://slides.html5rocks.com Get Location: http://html5demos.com/geo Upload Files: http://email.jeeran.com Image gallery: http://www.apple.com/html5/showcase/gallery More: http://www.apple.com/html5 interactive comic: http://www.nevermindthebullets.com/ CAPMAN http://www.kesiev.com/akihabara/demo/game-capman.html Google smash: http://mrdoob.com/92/Google_Gravity_HTML5 Canvas Video: http://craftymind.com/factory/html5video/CanvasVideo.html
  • 15. Is it possible to build sites on HTML5 now? NO!.. Because: 1. is not completed. 2. Not fully browser support. 3. DRM issues. How can we move forward ? • It is a good time for learning. • Build web pages HTML4/XHTML + html5 + JS • Building browser-specific apps. • Focusing on the mobile.
  • 16. Thank you :) Anas AbuDayah Front-end Web Developer Twitter: @abudayah www.abudayah.com Last update: 11 Aug 2011