SlideShare a Scribd company logo
- <code>Gopinath T.M</code>
HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
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
Document DOM HTML 5 text/html XHTML 5 application/xhtml+xml
HTML Older version Code <img src=&quot;path/to/image&quot; alt=&quot;About image&quot; />  <p>Image of Mars. </p>. HTML5 <figure> <img src=&quot;path/to/image&quot; alt=&quot;About image&quot; /> <figcaption> <p>This is an image of something interesting.</p> </figcaption> </figure>
HTML Older Version Code. <link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.css&quot; type=&quot;text/css&quot; /> <script type=&quot;text/javascript“ src=&quot;path/to/script.js&quot;></script> HTML5 <link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.css&quot; /> <script src=&quot;path/to/script.js&quot;></script>
HTML Older Version  We need to  add some client side script to make the things happened. HTML5 <ul contenteditable=&quot;true&quot;> <li> Break mechanical cab driver. </li> <li> Drive to abandoned factory <li> Watch video of self </li> </ul>
Color date  datetime  datetime-local  email  File with multiple file selection. month  number  range  Search Tel time  url week
HTML Older Version Code. <form action=&quot;&quot; method=&quot;get&quot;> <label for=&quot;email&quot;>Email:</label> <input id=&quot;email&quot; name=&quot;email&quot; type=“text&quot; /> <button type=&quot;submit&quot;> Submit Form </button>   </form> HTML5 <form action=&quot;&quot; method=&quot;get&quot;> <label for=&quot;email&quot;>Email:</label> <input id=&quot;email&quot; name=&quot;email&quot; type=&quot;email&quot; /> <button type=&quot;submit&quot;> Submit Form </button> </form>
HTML Older Version We need to required some client side script to validate the things. HTML5 <form method=&quot;post&quot; action=&quot;&quot;> <label for=&quot;someInput&quot;> Your Name: </label> <input type=&quot;text&quot; id=&quot;someInput&quot; name=&quot;someInput&quot; placeholder=&quot;Douglas Quaid&quot; required> <button type=&quot;submit&quot;>Go</button> </form>
HTML Older Version We need to  add some client side script to make the things happened. HTML5 <form method=&quot;post&quot; action=&quot;&quot;> <label for=&quot;someInput&quot;> Your Name: </label> <input type=&quot;text&quot; id=&quot;someInput&quot; name=&quot;someInput&quot; placeholder=“Enter your name&quot; required> <button type=&quot;submit&quot;>Go</button> </form>
HTML5 <audio autoplay=&quot;autoplay&quot; controls=&quot;controls&quot;> <source src=&quot;file.ogg&quot; /> <source src=&quot;file.mp3&quot; /> <a href=&quot;file.mp3&quot;>Download this file.</a> </audio>
<video controls preload> <source src=&quot;cohagenPhoneCall.ogv&quot; type=&quot;video/ogg; codecs='vorbis, theora'&quot; /> <source src=&quot;cohagenPhoneCall.mp4&quot; type=&quot;video/mp4; 'codecs='avc1.42E01E, mp4a.40.2'&quot; /> <p> Your browser is old. <a href=&quot;cohagenPhoneCall.mp4&quot;>Download this video instead.</a> </p> </video>
 
<form action=&quot;&quot; method=&quot;post&quot;> <label for=&quot;username&quot;>Create a Username: </label>   <input type=&quot;text&quot;   name=&quot;username&quot;   id=&quot;username&quot;   placeholder=&quot;4 <> 10&quot;   pattern=&quot;[A-Za-z]{4,10}&quot;   autofocus   required> <button type=&quot;submit&quot;>Go </button> </form>
<h3> Search Results </h3> <p> They were interrupted, just after Quato said, <mark>&quot;Open your Mind&quot;</mark>. </p>
LocalStorage - stores data with no time limit <script type=&quot;text/javascript&quot;> localStorage.lastname=&quot;Smith&quot;; document.write(localStorage.lastname); </script>  Ses sionStorage - stores data with one time session <script type=&quot;text/javascript&quot;> sessionStorage.lastname=&quot;Smith&quot;; document.write(sessionStorage.lastname); </script>
<canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;100&quot; style=&quot;border:1px solid #c3c3c3;&quot;> Your browser does not support the canvas element. </canvas> <script type=&quot;text/javascript&quot;> var c=document.getElementById(&quot;myCanvas&quot;); var ctx=c.getContext(&quot;2d&quot;); ctx.fillStyle=&quot;#FF0000&quot;; ctx.fillRect(0,0,150,75); </script>
http://html5test.com/
www.developersnacks.com

More Related Content

PPT
Html5: What is it?
PPTX
New HTML5/CSS3 techniques
PPTX
HTML and CSS workshop
PPT
HTML Fundamentals
PPT
Intro to html
PPT
PPTX
HTML to FTP
Html5: What is it?
New HTML5/CSS3 techniques
HTML and CSS workshop
HTML Fundamentals
Intro to html
HTML to FTP

What's hot (19)

PPT
Block2 Session2 Presentation
KEY
HTML5 - techMaine Presentation 5/18/09
PPT
Html5 accessibility
PPTX
You and Your Stylesheet
PPTX
Basic HTML
PPT
Html basics IML 140 (weeks 2-3)
PPTX
Creating A Forensics Webpage
PPT
02. session 02 working with html elements
PPT
HTML Introduction
PPT
PL2235 2009 1 HTML
PPT
Web design
PPTX
Next Steps for New WordPress Users
KEY
HTML presentation for beginners
ODP
HTML5: 5 Quick Wins
PPT
Hour 02
 
PPT
ARTDM 171 Week 4: Tags
PPTX
Html tags
PPT
WordPress Development Confoo 2010
PPTX
WordCamp Baltimore 2016
Block2 Session2 Presentation
HTML5 - techMaine Presentation 5/18/09
Html5 accessibility
You and Your Stylesheet
Basic HTML
Html basics IML 140 (weeks 2-3)
Creating A Forensics Webpage
02. session 02 working with html elements
HTML Introduction
PL2235 2009 1 HTML
Web design
Next Steps for New WordPress Users
HTML presentation for beginners
HTML5: 5 Quick Wins
Hour 02
 
ARTDM 171 Week 4: Tags
Html tags
WordPress Development Confoo 2010
WordCamp Baltimore 2016
Ad

Viewers also liked (20)

DOTX
Practica de word
PPTX
Evaluación de redes de valor y calidad
PPS
Nanotecnología
PDF
SSoE InFocus, Spring 2006
DOCX
Redalyc investigación accion
DOCX
Proy señ unam
PPTX
Presentacion estadistica ana constante 1ro comun a
PDF
1 en-busca-de-un- maestro--de-un-curso-de-milagros.
DOCX
Parafrasis
PPS
Nanotecnología
PPT
Euthanasia
PDF
OPT for RAFT - Touro College of Pharmacy - 28 October 2011
PPTX
GIT Y GITHUB APLICADOS EN LA DOCENCIA
PPT
Sintesis
PPTX
Causas de la violencia en el noviazgo
PPTX
Metodos antropometricos
PDF
Socialismo del Siglo XXI
PPTX
La importancia del ambiente de estudio para estudiantes con TDAH.
DOCX
FENOMENO DEL NIÑO Y LA NIÑA
PDF
Manual de-instalaciones-termicas c-ch_c
Practica de word
Evaluación de redes de valor y calidad
Nanotecnología
SSoE InFocus, Spring 2006
Redalyc investigación accion
Proy señ unam
Presentacion estadistica ana constante 1ro comun a
1 en-busca-de-un- maestro--de-un-curso-de-milagros.
Parafrasis
Nanotecnología
Euthanasia
OPT for RAFT - Touro College of Pharmacy - 28 October 2011
GIT Y GITHUB APLICADOS EN LA DOCENCIA
Sintesis
Causas de la violencia en el noviazgo
Metodos antropometricos
Socialismo del Siglo XXI
La importancia del ambiente de estudio para estudiantes con TDAH.
FENOMENO DEL NIÑO Y LA NIÑA
Manual de-instalaciones-termicas c-ch_c
Ad

Similar to Html5 (20)

PPTX
Los Angeles HTML5 User Group Meeting Ask the Expert Session
PPT
HTML5 Overview
PPT
KMUTNB - Internet Programming 3/7
PPT
HTML5 Fundamentals
PPT
Lecture1 B Frames&Forms
PPT
Intro Html
PPT
Html5 Overview
PPT
Understanding html
PPT
Developing Gadgets
PPTX
PPT
YL Intro html
PPTX
HTML5 - What h#@$ is it?
PPTX
HTML5 - One spec to rule them all
PPTX
Jade & Javascript templating
PPT
PPTX
HTML5
PPT
Introduction to html
PPT
Introduction to html
PPTX
Html 5 a step towards semantic web
ODP
Los Angeles HTML5 User Group Meeting Ask the Expert Session
HTML5 Overview
KMUTNB - Internet Programming 3/7
HTML5 Fundamentals
Lecture1 B Frames&Forms
Intro Html
Html5 Overview
Understanding html
Developing Gadgets
YL Intro html
HTML5 - What h#@$ is it?
HTML5 - One spec to rule them all
Jade & Javascript templating
HTML5
Introduction to html
Introduction to html
Html 5 a step towards semantic web

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PDF
Pre independence Education in Inndia.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Business Ethics Teaching Materials for college
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharma ospi slides which help in ospi learning
RMMM.pdf make it easy to upload and study
Pre independence Education in Inndia.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Institutional Correction lecture only . . .
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Renaissance Architecture: A Journey from Faith to Humanism
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
Supply Chain Operations Speaking Notes -ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Business Ethics Teaching Materials for college
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Insiders guide to clinical Medicine.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Basic Mud Logging Guide for educational purpose
Pharma ospi slides which help in ospi learning

Html5

  • 2. HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
  • 3. 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
  • 4. Document DOM HTML 5 text/html XHTML 5 application/xhtml+xml
  • 5. HTML Older version Code <img src=&quot;path/to/image&quot; alt=&quot;About image&quot; />  <p>Image of Mars. </p>. HTML5 <figure> <img src=&quot;path/to/image&quot; alt=&quot;About image&quot; /> <figcaption> <p>This is an image of something interesting.</p> </figcaption> </figure>
  • 6. HTML Older Version Code. <link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.css&quot; type=&quot;text/css&quot; /> <script type=&quot;text/javascript“ src=&quot;path/to/script.js&quot;></script> HTML5 <link rel=&quot;stylesheet&quot; href=&quot;path/to/stylesheet.css&quot; /> <script src=&quot;path/to/script.js&quot;></script>
  • 7. HTML Older Version We need to add some client side script to make the things happened. HTML5 <ul contenteditable=&quot;true&quot;> <li> Break mechanical cab driver. </li> <li> Drive to abandoned factory <li> Watch video of self </li> </ul>
  • 8. Color date  datetime  datetime-local  email  File with multiple file selection. month  number  range  Search Tel time  url week
  • 9. HTML Older Version Code. <form action=&quot;&quot; method=&quot;get&quot;> <label for=&quot;email&quot;>Email:</label> <input id=&quot;email&quot; name=&quot;email&quot; type=“text&quot; /> <button type=&quot;submit&quot;> Submit Form </button> </form> HTML5 <form action=&quot;&quot; method=&quot;get&quot;> <label for=&quot;email&quot;>Email:</label> <input id=&quot;email&quot; name=&quot;email&quot; type=&quot;email&quot; /> <button type=&quot;submit&quot;> Submit Form </button> </form>
  • 10. HTML Older Version We need to required some client side script to validate the things. HTML5 <form method=&quot;post&quot; action=&quot;&quot;> <label for=&quot;someInput&quot;> Your Name: </label> <input type=&quot;text&quot; id=&quot;someInput&quot; name=&quot;someInput&quot; placeholder=&quot;Douglas Quaid&quot; required> <button type=&quot;submit&quot;>Go</button> </form>
  • 11. HTML Older Version We need to add some client side script to make the things happened. HTML5 <form method=&quot;post&quot; action=&quot;&quot;> <label for=&quot;someInput&quot;> Your Name: </label> <input type=&quot;text&quot; id=&quot;someInput&quot; name=&quot;someInput&quot; placeholder=“Enter your name&quot; required> <button type=&quot;submit&quot;>Go</button> </form>
  • 12. HTML5 <audio autoplay=&quot;autoplay&quot; controls=&quot;controls&quot;> <source src=&quot;file.ogg&quot; /> <source src=&quot;file.mp3&quot; /> <a href=&quot;file.mp3&quot;>Download this file.</a> </audio>
  • 13. <video controls preload> <source src=&quot;cohagenPhoneCall.ogv&quot; type=&quot;video/ogg; codecs='vorbis, theora'&quot; /> <source src=&quot;cohagenPhoneCall.mp4&quot; type=&quot;video/mp4; 'codecs='avc1.42E01E, mp4a.40.2'&quot; /> <p> Your browser is old. <a href=&quot;cohagenPhoneCall.mp4&quot;>Download this video instead.</a> </p> </video>
  • 14.  
  • 15. <form action=&quot;&quot; method=&quot;post&quot;> <label for=&quot;username&quot;>Create a Username: </label> <input type=&quot;text&quot; name=&quot;username&quot; id=&quot;username&quot; placeholder=&quot;4 <> 10&quot; pattern=&quot;[A-Za-z]{4,10}&quot; autofocus required> <button type=&quot;submit&quot;>Go </button> </form>
  • 16. <h3> Search Results </h3> <p> They were interrupted, just after Quato said, <mark>&quot;Open your Mind&quot;</mark>. </p>
  • 17. LocalStorage - stores data with no time limit <script type=&quot;text/javascript&quot;> localStorage.lastname=&quot;Smith&quot;; document.write(localStorage.lastname); </script> Ses sionStorage - stores data with one time session <script type=&quot;text/javascript&quot;> sessionStorage.lastname=&quot;Smith&quot;; document.write(sessionStorage.lastname); </script>
  • 18. <canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;100&quot; style=&quot;border:1px solid #c3c3c3;&quot;> Your browser does not support the canvas element. </canvas> <script type=&quot;text/javascript&quot;> var c=document.getElementById(&quot;myCanvas&quot;); var ctx=c.getContext(&quot;2d&quot;); ctx.fillStyle=&quot;#FF0000&quot;; ctx.fillRect(0,0,150,75); </script>