SlideShare a Scribd company logo
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

PDF
Building an E-commerce website in MEAN stack
divyapisces
 
PDF
Nuxeo WebEngine: a practical introduction
Nuxeo
 
PPTX
Building a Web Frontend with Microservices and NGINX Plus
NGINX, Inc.
 
PPTX
Web browser architecture
Nguyen Quang
 
PDF
MongoDB Europe 2016 - Warehousing MongoDB Data using Apache Beam and BigQuery
MongoDB
 
PPTX
Data stores: beyond relational databases
Javier García Magna
 
PPSX
Rendering engine
Dharita Chokshi
 
PDF
Future development stack ~ MeteorJS
Victor Stan
 
Building an E-commerce website in MEAN stack
divyapisces
 
Nuxeo WebEngine: a practical introduction
Nuxeo
 
Building a Web Frontend with Microservices and NGINX Plus
NGINX, Inc.
 
Web browser architecture
Nguyen Quang
 
MongoDB Europe 2016 - Warehousing MongoDB Data using Apache Beam and BigQuery
MongoDB
 
Data stores: beyond relational databases
Javier García Magna
 
Rendering engine
Dharita Chokshi
 
Future development stack ~ MeteorJS
Victor Stan
 

Viewers also liked (15)

PDF
Making form with html5
Youhei Iwasaki
 
PPT
Electromagnetic induction
Nikhil Devda
 
DOCX
Pba lart-elektrolit-non-elektrolit
Anang Andika Putra Siswanto
 
PDF
A study of multimodal biometric system
eSAT Publishing House
 
PPTX
Presentation1
Isabella Abayan
 
PDF
MentalHealthBooklet-ForEmail
cheryl lynne
 
PPTX
Presentacion Taller Web 2.0
monicaisabelgalarretavaldera
 
PPS
Shame 2011
joannakato
 
PDF
Escape From Hadoop: Spark One Liners for C* Ops
Russell Spitzer
 
PDF
MEPecho
Miguel Pecho
 
PDF
Prabhuti
Prabhuti Systems
 
PDF
Assessment of cyclic triaxial behavior of shiwalik sandstone
eSAT Publishing House
 
PDF
management
kirushna kumar
 
PPTX
Conflicto armado
Roxana Cano Wilches
 
PDF
GA: 6 Do's and Don'ts of Pitching
SlideChef
 
Making form with html5
Youhei Iwasaki
 
Electromagnetic induction
Nikhil Devda
 
Pba lart-elektrolit-non-elektrolit
Anang Andika Putra Siswanto
 
A study of multimodal biometric system
eSAT Publishing House
 
Presentation1
Isabella Abayan
 
MentalHealthBooklet-ForEmail
cheryl lynne
 
Presentacion Taller Web 2.0
monicaisabelgalarretavaldera
 
Shame 2011
joannakato
 
Escape From Hadoop: Spark One Liners for C* Ops
Russell Spitzer
 
MEPecho
Miguel Pecho
 
Assessment of cyclic triaxial behavior of shiwalik sandstone
eSAT Publishing House
 
management
kirushna kumar
 
Conflicto armado
Roxana Cano Wilches
 
GA: 6 Do's and Don'ts of Pitching
SlideChef
 
Ad

Similar to Introduction to HTML5 & CSS3 (20)

PDF
HTML5 Intoduction for Web Developers
Sascha Corti
 
PPT
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
IndicThreads
 
ODP
Html5
mikusuraj
 
PDF
Word camp nextweb
Panagiotis Grigoropoulos
 
PDF
WordCamp Thessaloniki2011 The NextWeb
George Kanellopoulos
 
PDF
soft-shake.ch - Introduction to HTML5
soft-shake.ch
 
PDF
Jsf2 html5-jazoon
Roger Kitain
 
PPT
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
PDF
HTML5 Comprehensive Guide
Alexei Skachykhin
 
PPTX
Html5
Zahin Omar Alwa
 
PDF
Internet Explorer 8
David Chou
 
PDF
HTML5 features & JavaScript APIs
Fisnik Doko
 
PPT
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
PDF
VizEx View HTML5 Workshop
David Manock
 
PDF
VizEx View HTML5 Workshop
Larson Software Technology
 
PPT
A Microsoft primer for PHP devs
guest0a62e8
 
PPTX
Transforming the web into a real application platform
Mohanadarshan Vivekanandalingam
 
PDF
The Web, After HTML5
Jonathan Jeon
 
HTML5 Intoduction for Web Developers
Sascha Corti
 
Mobile Web Applications using HTML5 [IndicThreads Mobile Application Develop...
IndicThreads
 
Html5
mikusuraj
 
Word camp nextweb
Panagiotis Grigoropoulos
 
WordCamp Thessaloniki2011 The NextWeb
George Kanellopoulos
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch
 
Jsf2 html5-jazoon
Roger Kitain
 
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
HTML5 Comprehensive Guide
Alexei Skachykhin
 
Internet Explorer 8
David Chou
 
HTML5 features & JavaScript APIs
Fisnik Doko
 
Daniel Egan Msdn Tech Days Oc
Daniel Egan
 
VizEx View HTML5 Workshop
David Manock
 
VizEx View HTML5 Workshop
Larson Software Technology
 
A Microsoft primer for PHP devs
guest0a62e8
 
Transforming the web into a real application platform
Mohanadarshan Vivekanandalingam
 
The Web, After HTML5
Jonathan Jeon
 
Ad

Recently uploaded (20)

PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PPTX
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Best ERP System for Manufacturing in India | Elite Mindz
Elite Mindz
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Chapter 1 Introduction to CV and IP Lecture Note.pdf
Getnet Tigabie Askale -(GM)
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 

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