SlideShare une entreprise Scribd logo
1  sur  24
HTML5, OVERVIEW
AND NEW FEATURES
Introduction
 Quick HTML overview
 History
 Semantics and structural elements
 HTML5 multimedia, video and audio
 Flash vs. HTML5
 Extended HTML5 forms
 HTML5 graphics and animations
Quick HTML overview
 HTML – Hypertext Markup Language
 Markup language used to construct web pages
 Web pages connected to other web pages
through hyperlinks
 Developed and overseen primarily by World
Wide Web Consortium (W3C)
 Structure separated from style and scripting
HTML elements
<a href=“http://www.uwplatt.edu” > UW-Platteville </a>
• Element start tag
• Attribute
• Value
• Element content
• Element ending tag
The following is an example of a basic HTML
element with an attribute, value, and content.
HTML document
 An example of a basic web page:
History
 1989 : Tim Berners-Lee working at CERN finds
the need for a global hypertext system
 1991 : Berners-Lee shows his hypertext system,
named HTML, to the scientific community
 1991 – 1993 : Various names further develop
HTML
 1994 : HTML2 is released as a means to
standardize the growing language. Netscape
developed. W3C (World Wide Web Consortium) is
formed
 1995 : Microsoft’s Internet Explorer developed.
JavaScript initially released.
History (cont.)
 1996 : CSS (Cascading Style Sheets) initially
released.
 1997 : HTML3.2 released, first completely W3C
developed HTML version
 1999 : HTML4.01 released
 2004 : WHATWG (Web Hypertext Application
Technology Work Group) starts HTML5
development
 2006 : W3C joins HTML5 development
 2008 : First working draft of HTML5 released
 2010 : Steve Jobs publishes “Thoughts on Flash”
 2012: HTML5 becomes a W3C Candidate
Recommendation
HTML5 - <!DOCTYPE>
 <!DOCTYPE> - The HTML document’s
DOCTYPE is the first line declared in the
document and tells the browser what version of
HTML is being used
 HTML4.01 had multiple DOCTYPEs:
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
 HTML5 has only one, simple DOCTYPE:
 <!DOCTYPE html>
HTML5 – Semantics and Structural
Elements
 HTML5 introduces numerous new elements to
aid in properly structuring HTML5 documents:
 <article> - an standalone piece of information
 <section> - a section of text, i.e. chapter
 <header> - header information, i.e. introduction
 <footer> - footer information, i.e. copyright
information
 <nav> - navigational tools used for a website
 <figure> - structural element for figures and tables
 For a full list of these structural elements visit the
W3C HTML5 documentation (in PowerPoint
notes)
HTML – Non-Semantic
Example
HTML5 – Structural Example
HTML5 - Video
 The newly introduced <video> tag allows for the
in-browser viewing of the following video
compressions:
 MP4
 Ogg
 WebM
 Attributes include:
 width, height – specify the size of the video player
 src – defines the video source
 controls – show controls for the video
 autoplay – start the video as soon as possible
 loop – automatically replay the video upon
competition
HTML5 – Video (cont.)
Browser MPEG4 Ogg WebM
Chrome 6+ YES YES YES
Firefox 3.6+ NO YES YES
Opera 10.6+ NO YES YES
Safari 5+ NO YES YES
IE 9+ YES NO NO
HTML5 <video> audio compressions
browser compatibility
HTML5 <video> syntax:
<video src=“example.ogg” width=“320” height=“240” controls
autoplay></video>
HTML5 – Source
 The <source> element is used to specify
source files for the <audio> and <video>
elements
 This allows for multiple sources for one <video>
element
HTML5 <source> syntax:
<video width=“320” height=“240” controls>
<source src=“example.mp4” type=“video/mp4”>
<source src=“example.webm” type=“video/webm”>
<source src=“example.ogg” type=“video/ogg”>
</video>
HTML5 - Track
 The <track> element allows for text tracks to
be loaded into <audio> and <video> elements
HTML5 <source> syntax:
<video width=“320” height=“240” controls>
<source src=“example.mp4” type=“video/mp4”>
<track src=“example.fr.srt” srclang=fr kind=subtitles label=“FrenchSubs” >
</video>
HTML5 – Audio
 The newly introduced <audio> tag allows for
the in-browser playback of the following audio
compressions:
 MP3
 Ogg
 WAV
 Many of the attributes included in the <video>
element are also available for the <audio>
element
HTML5 – Audio (cont.)
Browser MP3 WAV Ogg
Chrome 6+ YES YES YES
Firefox 3.6+ NO YES YES
Opera 10.6+ NO YES YES
Safari 5+ YES YES NO
IE9+ YES NO NO
HTML5 <audio> audio compressions browser
compatibility
HTML5 <audio> syntax:
<audio src=“example.mp3” width=“320” height=“240” controls autoplay></audio>
HTML5 Multimedia vs. Flash
 HTML5:
 Pros: Standard markup language, cross-platform,
access to DOM and APIs, no thrid-party plug-ins
 Cons: No built-in fullscreen, not all users use
HTML5 ready browsers, long-term limitations of
standardization, cannot display live-streaming,
new standards can be difficult to adapt
 Adobe Flash
 Pros: Much wider userbase, very familiar
 Cons: Third-party plug-in, not supported on some
devices, not a web standard
HTML5 – Extended Forms
 datalist
 A datalist allows autocompletion in an input with a
given list of autocomplete options
 required
 the required attribute forces the user to enter in
data for the input before committing the form to
the server
 output
 the output element allows for calculation and
output of this calculation using form fields
HTML5 – Extended Forms
(cont.)
 Many new values have been added for the
<input> element’s type attribute:
 date, time, and datetime – display datetime
pickers
 number – displays a spinner for inputting a
number
 email, url, telephone – these types of inputs,
among others, are used for data validation
 range – displays a movable slider to specify
values
 color – displays a color picker for choosing color
values in hex
HTML5 – Graphics and
Animations
 HTML5 allows for the rendering of graphics
and animations in-browser
 One way HTML5 accomplishes this is through
the new <canvas> element
 <canvas> creates a 2D canvas in which graphics
can be drawn via scripting
 JavaScript
 WebGL
 SVG
HTML5 – Graphics and
Animations
 CSS3 is fully supported in HTML5 and
improves on styling options available
 Skewing, rotation, and scaling can be done in
CSS3
 CSS3 allows for easily downloadable fonts locally
stored on the web-server
 Animations and transitions can be coded using
CSS3
 Page layouts can easily be done using CSS3
HTML5 - Conclusion
 HTML5 introduces:
 Improved semantics to web documents
 Multimedia elements, including <video> and
<audio>
 Extended information gathering via improved
forms
 Graphics and animations without the need for
third-party plugins
HTML5 – Further Reading
 W3C Documentation:
 http://www.w3.org/html/wg/drafts/html/master/
 W3Schools (unrelated to W3C), practical
tutorials:
 http://www.w3schools.com/html/html5_intro.asp

Contenu connexe

Tendances

4 internet programming
4 internet programming4 internet programming
4 internet programming
soner_kavlak
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
vikram singh
 
1o1 group6
1o1 group61o1 group6
1o1 group6
stieon
 

Tendances (15)

HTML5 Tutorial
HTML5 TutorialHTML5 Tutorial
HTML5 Tutorial
 
Html5
Html5Html5
Html5
 
0 csc 3311 slide internet programming
0 csc 3311 slide internet programming0 csc 3311 slide internet programming
0 csc 3311 slide internet programming
 
4 internet programming
4 internet programming4 internet programming
4 internet programming
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
1o1 group6
1o1 group61o1 group6
1o1 group6
 
Introduction to Web Technology
Introduction to Web TechnologyIntroduction to Web Technology
Introduction to Web Technology
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
How The Web Works
How The Web WorksHow The Web Works
How The Web Works
 
Html 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally ChohanHtml 5 tutorial - By Bally Chohan
Html 5 tutorial - By Bally Chohan
 
The Future of the Web: HTML5
The Future of the Web: HTML5The Future of the Web: HTML5
The Future of the Web: HTML5
 
Class 1 - World Wide Web Introduction
Class 1 - World Wide Web IntroductionClass 1 - World Wide Web Introduction
Class 1 - World Wide Web Introduction
 
About html
About htmlAbout html
About html
 
Web services intro.
Web services intro.Web services intro.
Web services intro.
 
Html5
Html5Html5
Html5
 

Similaire à Html5 tags

Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
madhavforu
 
1. introduction to html5
1. introduction to html51. introduction to html5
1. introduction to html5
JayjZens
 
Html5ppt
Html5pptHtml5ppt
Html5ppt
recroup
 
HTML5 Presentation
HTML5 PresentationHTML5 Presentation
HTML5 Presentation
vs4vijay
 

Similaire à Html5 tags (20)

Basics of HTML5 for Phonegap
Basics of HTML5 for PhonegapBasics of HTML5 for Phonegap
Basics of HTML5 for Phonegap
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
 
Html5
Html5Html5
Html5
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
1. introduction to html5
1. introduction to html51. introduction to html5
1. introduction to html5
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Html5
Html5Html5
Html5
 
Html 5
Html 5Html 5
Html 5
 
Html 5
Html 5Html 5
Html 5
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 
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...
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
 
Html5ppt
Html5pptHtml5ppt
Html5ppt
 
Html5
Html5Html5
Html5
 
mst_unit1.pptx
mst_unit1.pptxmst_unit1.pptx
mst_unit1.pptx
 
Html.pptx
Html.pptxHtml.pptx
Html.pptx
 
Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5
Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5
Why Undergraduates Should Learn Web Development and Design Foundatons with HTML5
 
HTML5 Presentation
HTML5 PresentationHTML5 Presentation
HTML5 Presentation
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Dernier (20)

Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Html5 tags

  • 2. Introduction  Quick HTML overview  History  Semantics and structural elements  HTML5 multimedia, video and audio  Flash vs. HTML5  Extended HTML5 forms  HTML5 graphics and animations
  • 3. Quick HTML overview  HTML – Hypertext Markup Language  Markup language used to construct web pages  Web pages connected to other web pages through hyperlinks  Developed and overseen primarily by World Wide Web Consortium (W3C)  Structure separated from style and scripting
  • 4. HTML elements <a href=“http://www.uwplatt.edu” > UW-Platteville </a> • Element start tag • Attribute • Value • Element content • Element ending tag The following is an example of a basic HTML element with an attribute, value, and content.
  • 5. HTML document  An example of a basic web page:
  • 6. History  1989 : Tim Berners-Lee working at CERN finds the need for a global hypertext system  1991 : Berners-Lee shows his hypertext system, named HTML, to the scientific community  1991 – 1993 : Various names further develop HTML  1994 : HTML2 is released as a means to standardize the growing language. Netscape developed. W3C (World Wide Web Consortium) is formed  1995 : Microsoft’s Internet Explorer developed. JavaScript initially released.
  • 7. History (cont.)  1996 : CSS (Cascading Style Sheets) initially released.  1997 : HTML3.2 released, first completely W3C developed HTML version  1999 : HTML4.01 released  2004 : WHATWG (Web Hypertext Application Technology Work Group) starts HTML5 development  2006 : W3C joins HTML5 development  2008 : First working draft of HTML5 released  2010 : Steve Jobs publishes “Thoughts on Flash”  2012: HTML5 becomes a W3C Candidate Recommendation
  • 8. HTML5 - <!DOCTYPE>  <!DOCTYPE> - The HTML document’s DOCTYPE is the first line declared in the document and tells the browser what version of HTML is being used  HTML4.01 had multiple DOCTYPEs:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">  HTML5 has only one, simple DOCTYPE:  <!DOCTYPE html>
  • 9. HTML5 – Semantics and Structural Elements  HTML5 introduces numerous new elements to aid in properly structuring HTML5 documents:  <article> - an standalone piece of information  <section> - a section of text, i.e. chapter  <header> - header information, i.e. introduction  <footer> - footer information, i.e. copyright information  <nav> - navigational tools used for a website  <figure> - structural element for figures and tables  For a full list of these structural elements visit the W3C HTML5 documentation (in PowerPoint notes)
  • 12. HTML5 - Video  The newly introduced <video> tag allows for the in-browser viewing of the following video compressions:  MP4  Ogg  WebM  Attributes include:  width, height – specify the size of the video player  src – defines the video source  controls – show controls for the video  autoplay – start the video as soon as possible  loop – automatically replay the video upon competition
  • 13. HTML5 – Video (cont.) Browser MPEG4 Ogg WebM Chrome 6+ YES YES YES Firefox 3.6+ NO YES YES Opera 10.6+ NO YES YES Safari 5+ NO YES YES IE 9+ YES NO NO HTML5 <video> audio compressions browser compatibility HTML5 <video> syntax: <video src=“example.ogg” width=“320” height=“240” controls autoplay></video>
  • 14. HTML5 – Source  The <source> element is used to specify source files for the <audio> and <video> elements  This allows for multiple sources for one <video> element HTML5 <source> syntax: <video width=“320” height=“240” controls> <source src=“example.mp4” type=“video/mp4”> <source src=“example.webm” type=“video/webm”> <source src=“example.ogg” type=“video/ogg”> </video>
  • 15. HTML5 - Track  The <track> element allows for text tracks to be loaded into <audio> and <video> elements HTML5 <source> syntax: <video width=“320” height=“240” controls> <source src=“example.mp4” type=“video/mp4”> <track src=“example.fr.srt” srclang=fr kind=subtitles label=“FrenchSubs” > </video>
  • 16. HTML5 – Audio  The newly introduced <audio> tag allows for the in-browser playback of the following audio compressions:  MP3  Ogg  WAV  Many of the attributes included in the <video> element are also available for the <audio> element
  • 17. HTML5 – Audio (cont.) Browser MP3 WAV Ogg Chrome 6+ YES YES YES Firefox 3.6+ NO YES YES Opera 10.6+ NO YES YES Safari 5+ YES YES NO IE9+ YES NO NO HTML5 <audio> audio compressions browser compatibility HTML5 <audio> syntax: <audio src=“example.mp3” width=“320” height=“240” controls autoplay></audio>
  • 18. HTML5 Multimedia vs. Flash  HTML5:  Pros: Standard markup language, cross-platform, access to DOM and APIs, no thrid-party plug-ins  Cons: No built-in fullscreen, not all users use HTML5 ready browsers, long-term limitations of standardization, cannot display live-streaming, new standards can be difficult to adapt  Adobe Flash  Pros: Much wider userbase, very familiar  Cons: Third-party plug-in, not supported on some devices, not a web standard
  • 19. HTML5 – Extended Forms  datalist  A datalist allows autocompletion in an input with a given list of autocomplete options  required  the required attribute forces the user to enter in data for the input before committing the form to the server  output  the output element allows for calculation and output of this calculation using form fields
  • 20. HTML5 – Extended Forms (cont.)  Many new values have been added for the <input> element’s type attribute:  date, time, and datetime – display datetime pickers  number – displays a spinner for inputting a number  email, url, telephone – these types of inputs, among others, are used for data validation  range – displays a movable slider to specify values  color – displays a color picker for choosing color values in hex
  • 21. HTML5 – Graphics and Animations  HTML5 allows for the rendering of graphics and animations in-browser  One way HTML5 accomplishes this is through the new <canvas> element  <canvas> creates a 2D canvas in which graphics can be drawn via scripting  JavaScript  WebGL  SVG
  • 22. HTML5 – Graphics and Animations  CSS3 is fully supported in HTML5 and improves on styling options available  Skewing, rotation, and scaling can be done in CSS3  CSS3 allows for easily downloadable fonts locally stored on the web-server  Animations and transitions can be coded using CSS3  Page layouts can easily be done using CSS3
  • 23. HTML5 - Conclusion  HTML5 introduces:  Improved semantics to web documents  Multimedia elements, including <video> and <audio>  Extended information gathering via improved forms  Graphics and animations without the need for third-party plugins
  • 24. HTML5 – Further Reading  W3C Documentation:  http://www.w3.org/html/wg/drafts/html/master/  W3Schools (unrelated to W3C), practical tutorials:  http://www.w3schools.com/html/html5_intro.asp