SlideShare a Scribd company logo
1 of 39
1
2 
Working as a PHP developer in MFS for more than 4 years. 
My skill set includes PHP, MySQL, HTML, HTML5, CSS, CSS3, jQuery, AJAX, Javascript, 
XML, ZendFramework, GoogleAnalytics, YouTubeAPI, ZendFramework2, Twitter 
Bootstrap, JSON 
Zend Certified Engineer (ZCE) - Zend PHP 5.3 Certification 
Oracle Certified Professional - OCP MySQL 5 Developer - Part 1 - 1Z0-871 
Microsoft Certified Professional - MCP - Programming in HTML5 with Javascript & CSS3
3 
What is HTML5? 
Advantages of HTML5 over HTML4 
Structure of a Web page 
Web Forms 
SVG 
MathML 
Web Storage 
Web SQL 
WebSocket 
Canvas 
Audio & Video 
Geolocation 
Web Workers 
Introduction to CSS3 
Reference Links 
Q & A 
Thank You!!
4
45 
5 
Successor of HTML4.01 
New tags, features and APIs 
More clarifications 
Standardises many features
6
7 
Backward Compatibility 
Accessibility 
Cleaner code 
Smarter Storage 
Game Development 
Cross Browser Support 
Mobile!! Mobile!! Mobile!!
8
9 
<header> 
<article> 
<header> 
<nav> <aside> 
<article> 
<footer> 
<footer>
10
11 
New form elements (datalist, keygen, output) 
New input types (email, url, number, tel, search, color, date, 
time, datetime, datetime-local, month, week, range) 
New input attributes (autocomplete, autofocus, min & max, 
placeholder, pattern, required, step, formtarget, …) 
New attribute syntax 
New media elements (audio, video, embed, source, track) 
HTML5 graphics (canvas, SVG)
12
13 
Scalable Vector Graphics with W3C recommended 
Used to describe 2D-graphics using XML 
XML rendered by an SVG viewer. 
Mainly used for Pie charts, Two-dimensional graphs in an X,Y 
coordinate system etc. 
Do not loose any quality on zoomed or resized 
Every element and every attribute can be animated
14
15 
Mathematical Markup Langauge 
Designed to present and capture mathematics for Web 
Used inside <math>...</math> tags
16
17 
Storage prior to HTML5 Web Storage 
userData for Microsoft Internet Explorer 
Flash Cookies by Adobe 
Gears by Google 
dojox.storage
18 
Web Storage as a standardised and native API 
Easily retrievable javascript objects 
2 ways to store data on the client side 
a) Web SQL database 
b) Web Storage - key/value pair storage system 
i) local storage 
ii) session storage
19 
Session Storage vs Local Storage 
Session Storage Local Storage 
Values persist only as long as the window or 
tab in which they were stored. 
Values are only visible within the window or 
tab that created them. 
Values persist beyond window and browser 
lifetime. 
Values are shared across every window or tab 
running at the same origin.
20
Database API 
Store complex relational data and perform simple or complex 
queries on those data 
Brings SQL to the client side 
It has 3 main methods 
21 
1) openDatabase: It creates the database object either using 
existing database or creating new one. 
2) transaction: It gives us the ability to control a transaction 
and performing either commit or rollback based on the situation. 
3) executeSql: This method is used to execute actual SQL query.
22
23 
Bidirectional communication technology 
Operates over a single socket 
Exposed via a JavaScript interface 
Once the Web Socket connection made with the web server, 
user can send the date from browser to server using send() 
method and receive data from server to browser by an 
onmessage event handler
24
25 
Overview of Graphics in Browsers 
Static images : <img> tag 
Dynamic graphics? No native support 
Current solution - 
- use plug-ins such as Flash, Silverlight etc. 
- HTML5 <canvas> element
26 
Canvas vs SVG 
Canvas SVG 
Advantages 
−> High performance graphics 
−> Pixel−level manipulation 
−> Constant performance 
depending on the resolution used 
−> Canvas drawing surface can be 
saved as an image file 
-> Vector-based, scalable to any 
resolution 
-> Good support for animations 
-> DOM manipulated elements 
Drawbacks 
-> No API for animation, you have to 
redraw every time 
-> Pixel manipulation - impossible 
for shape you create to respond to 
events 
-> Not scalable 
-> Not suited for user interfaces 
-> Works with the DOM, so with a lot of 
elements, it gets slower 
-> Not suited for gaming application
27
28 
Current scenario 
Based on plug-ins i.e. Silverlight, Flash 
Browser uses the <object> tag and can’t differentiate w.r.t. 
audio/video 
An end user might not have the plug-in installed/ not 
permitted 
Plug-ins are not cross-platform 
Flash - not supported on iOS
29 
With HTML5 
Use of<audio> and <video> tags 
Need to set src attribute to identify the media source 
Include a controls attribute 
It supports 
- Audio Video Interleave (.avi) 
- Flash Video (.flv) 
- MPEG 4 (.mp4) 
- Matroska (.mkv) 
- Ogg (.ogv)
30
31 
Geographic and Location 
Share user’s location, find direction etc. 
There are many ways to share the location 
- GPS 
- Location inferred from network, IP address, wifi 
- Cell IDs 
- User Input 
Sharing user location -> a privacy concern!!! 
User must give explicit permission to the user agent 
Some privacy concern will still present 
- How long the data will be stored 
- Is it shared with other sites 
- Can the location data be updated/deleted 
by end user?
32
33 
Current scenario 
Runs in single-threaded environment 
Application could be unresponsive 
Solution??? 
- Break a big operation 
- Use timer
34 
Runs in single-threaded environment 
Application could be unresponsive 
Solution??? 
- Break a big operation 
- Use timer
35
36 
Latest standard of CSS 
Completely backwards compatible 
Split up into modules 
- Selectors 
- Box Models 
- Background & Borders 
- Text effect 
- 2D Transformations 
- Animations 
- Multiple column layout
http://www.slideshare.net/pravasinisahoo9/html5-css3-a-startup 
http://pravasini.wordpress.com/ 
http://www.tutorialspoint.com/html5/index.html 
http://html5hub.com/ 
http://html5doctor.com/ 
http://www.w3schools.com/html/html5_intro.asp 
37
38
39

More Related Content

Viewers also liked

Viewers also liked (15)

Making form with html5
Making form with html5Making form with html5
Making form with html5
 
Electromagnetic induction
Electromagnetic inductionElectromagnetic induction
Electromagnetic induction
 
Pba lart-elektrolit-non-elektrolit
Pba lart-elektrolit-non-elektrolitPba lart-elektrolit-non-elektrolit
Pba lart-elektrolit-non-elektrolit
 
A study of multimodal biometric system
A study of multimodal biometric systemA study of multimodal biometric system
A study of multimodal biometric system
 
Presentation1
Presentation1Presentation1
Presentation1
 
MentalHealthBooklet-ForEmail
MentalHealthBooklet-ForEmailMentalHealthBooklet-ForEmail
MentalHealthBooklet-ForEmail
 
Presentacion Taller Web 2.0
Presentacion Taller Web 2.0Presentacion Taller Web 2.0
Presentacion Taller Web 2.0
 
Shame 2011
Shame 2011Shame 2011
Shame 2011
 
Escape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* OpsEscape From Hadoop: Spark One Liners for C* Ops
Escape From Hadoop: Spark One Liners for C* Ops
 
MEPecho
MEPechoMEPecho
MEPecho
 
Prabhuti
PrabhutiPrabhuti
Prabhuti
 
Assessment of cyclic triaxial behavior of shiwalik sandstone
Assessment of cyclic triaxial behavior of shiwalik sandstoneAssessment of cyclic triaxial behavior of shiwalik sandstone
Assessment of cyclic triaxial behavior of shiwalik sandstone
 
management
management management
management
 
Conflicto armado
Conflicto armadoConflicto armado
Conflicto armado
 
GA: 6 Do's and Don'ts of Pitching
GA: 6 Do's and Don'ts of PitchingGA: 6 Do's and Don'ts of Pitching
GA: 6 Do's and Don'ts of Pitching
 

Similar to Introduction to HTML5 & CSS3

HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersSascha Corti
 
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...IndicThreads
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebGeorge Kanellopoulos
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch
 
HTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentHTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentTilak Joshi
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8David Chou
 
HTML5 features & JavaScript APIs
HTML5 features & JavaScript APIsHTML5 features & JavaScript APIs
HTML5 features & JavaScript APIsFisnik Doko
 
Daniel Egan Msdn Tech Days Oc
Daniel Egan Msdn Tech Days OcDaniel Egan Msdn Tech Days Oc
Daniel Egan Msdn Tech Days OcDaniel Egan
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 WorkshopDavid Manock
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devsguest0a62e8
 
The Web, After HTML5
The Web, After HTML5The Web, After HTML5
The Web, After HTML5Jonathan Jeon
 

Similar to Introduction to HTML5 & CSS3 (20)

HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
 
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...Mobile Web Applications using HTML5  [IndicThreads Mobile Application Develop...
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
 
Html5
Html5Html5
Html5
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5soft-shake.ch - Introduction to HTML5
soft-shake.ch - Introduction to HTML5
 
Jsf2 html5-jazoon
Jsf2 html5-jazoonJsf2 html5-jazoon
Jsf2 html5-jazoon
 
HTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web DevelopmentHTML5: An Introduction To Next Generation Web Development
HTML5: An Introduction To Next Generation Web Development
 
HTML5
HTML5HTML5
HTML5
 
HTML5 Comprehensive Guide
HTML5 Comprehensive GuideHTML5 Comprehensive Guide
HTML5 Comprehensive Guide
 
Html5
Html5Html5
Html5
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8
 
HTML5 features & JavaScript APIs
HTML5 features & JavaScript APIsHTML5 features & JavaScript APIs
HTML5 features & JavaScript APIs
 
Daniel Egan Msdn Tech Days Oc
Daniel Egan Msdn Tech Days OcDaniel Egan Msdn Tech Days Oc
Daniel Egan Msdn Tech Days Oc
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
A Microsoft primer for PHP devs
A Microsoft primer for PHP devsA Microsoft primer for PHP devs
A Microsoft primer for PHP devs
 
Transforming the web into a real application platform
Transforming the web into a real application platformTransforming the web into a real application platform
Transforming the web into a real application platform
 
The Web, After HTML5
The Web, After HTML5The Web, After HTML5
The Web, After HTML5
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Introduction to HTML5 & CSS3

  • 1. 1
  • 2. 2 Working as a PHP developer in MFS for more than 4 years. My skill set includes PHP, MySQL, HTML, HTML5, CSS, CSS3, jQuery, AJAX, Javascript, XML, ZendFramework, GoogleAnalytics, YouTubeAPI, ZendFramework2, Twitter Bootstrap, JSON Zend Certified Engineer (ZCE) - Zend PHP 5.3 Certification Oracle Certified Professional - OCP MySQL 5 Developer - Part 1 - 1Z0-871 Microsoft Certified Professional - MCP - Programming in HTML5 with Javascript & CSS3
  • 3. 3 What is HTML5? Advantages of HTML5 over HTML4 Structure of a Web page Web Forms SVG MathML Web Storage Web SQL WebSocket Canvas Audio & Video Geolocation Web Workers Introduction to CSS3 Reference Links Q & A Thank You!!
  • 4. 4
  • 5. 45 5 Successor of HTML4.01 New tags, features and APIs More clarifications Standardises many features
  • 6. 6
  • 7. 7 Backward Compatibility Accessibility Cleaner code Smarter Storage Game Development Cross Browser Support Mobile!! Mobile!! Mobile!!
  • 8. 8
  • 9. 9 <header> <article> <header> <nav> <aside> <article> <footer> <footer>
  • 10. 10
  • 11. 11 New form elements (datalist, keygen, output) New input types (email, url, number, tel, search, color, date, time, datetime, datetime-local, month, week, range) New input attributes (autocomplete, autofocus, min & max, placeholder, pattern, required, step, formtarget, …) New attribute syntax New media elements (audio, video, embed, source, track) HTML5 graphics (canvas, SVG)
  • 12. 12
  • 13. 13 Scalable Vector Graphics with W3C recommended Used to describe 2D-graphics using XML XML rendered by an SVG viewer. Mainly used for Pie charts, Two-dimensional graphs in an X,Y coordinate system etc. Do not loose any quality on zoomed or resized Every element and every attribute can be animated
  • 14. 14
  • 15. 15 Mathematical Markup Langauge Designed to present and capture mathematics for Web Used inside <math>...</math> tags
  • 16. 16
  • 17. 17 Storage prior to HTML5 Web Storage userData for Microsoft Internet Explorer Flash Cookies by Adobe Gears by Google dojox.storage
  • 18. 18 Web Storage as a standardised and native API Easily retrievable javascript objects 2 ways to store data on the client side a) Web SQL database b) Web Storage - key/value pair storage system i) local storage ii) session storage
  • 19. 19 Session Storage vs Local Storage Session Storage Local Storage Values persist only as long as the window or tab in which they were stored. Values are only visible within the window or tab that created them. Values persist beyond window and browser lifetime. Values are shared across every window or tab running at the same origin.
  • 20. 20
  • 21. Database API Store complex relational data and perform simple or complex queries on those data Brings SQL to the client side It has 3 main methods 21 1) openDatabase: It creates the database object either using existing database or creating new one. 2) transaction: It gives us the ability to control a transaction and performing either commit or rollback based on the situation. 3) executeSql: This method is used to execute actual SQL query.
  • 22. 22
  • 23. 23 Bidirectional communication technology Operates over a single socket Exposed via a JavaScript interface Once the Web Socket connection made with the web server, user can send the date from browser to server using send() method and receive data from server to browser by an onmessage event handler
  • 24. 24
  • 25. 25 Overview of Graphics in Browsers Static images : <img> tag Dynamic graphics? No native support Current solution - - use plug-ins such as Flash, Silverlight etc. - HTML5 <canvas> element
  • 26. 26 Canvas vs SVG Canvas SVG Advantages −> High performance graphics −> Pixel−level manipulation −> Constant performance depending on the resolution used −> Canvas drawing surface can be saved as an image file -> Vector-based, scalable to any resolution -> Good support for animations -> DOM manipulated elements Drawbacks -> No API for animation, you have to redraw every time -> Pixel manipulation - impossible for shape you create to respond to events -> Not scalable -> Not suited for user interfaces -> Works with the DOM, so with a lot of elements, it gets slower -> Not suited for gaming application
  • 27. 27
  • 28. 28 Current scenario Based on plug-ins i.e. Silverlight, Flash Browser uses the <object> tag and can’t differentiate w.r.t. audio/video An end user might not have the plug-in installed/ not permitted Plug-ins are not cross-platform Flash - not supported on iOS
  • 29. 29 With HTML5 Use of<audio> and <video> tags Need to set src attribute to identify the media source Include a controls attribute It supports - Audio Video Interleave (.avi) - Flash Video (.flv) - MPEG 4 (.mp4) - Matroska (.mkv) - Ogg (.ogv)
  • 30. 30
  • 31. 31 Geographic and Location Share user’s location, find direction etc. There are many ways to share the location - GPS - Location inferred from network, IP address, wifi - Cell IDs - User Input Sharing user location -> a privacy concern!!! User must give explicit permission to the user agent Some privacy concern will still present - How long the data will be stored - Is it shared with other sites - Can the location data be updated/deleted by end user?
  • 32. 32
  • 33. 33 Current scenario Runs in single-threaded environment Application could be unresponsive Solution??? - Break a big operation - Use timer
  • 34. 34 Runs in single-threaded environment Application could be unresponsive Solution??? - Break a big operation - Use timer
  • 35. 35
  • 36. 36 Latest standard of CSS Completely backwards compatible Split up into modules - Selectors - Box Models - Background & Borders - Text effect - 2D Transformations - Animations - Multiple column layout
  • 37. http://www.slideshare.net/pravasinisahoo9/html5-css3-a-startup http://pravasini.wordpress.com/ http://www.tutorialspoint.com/html5/index.html http://html5hub.com/ http://html5doctor.com/ http://www.w3schools.com/html/html5_intro.asp 37
  • 38. 38
  • 39. 39