SlideShare a Scribd company logo
HTML5: INTRODUCTION
By Muktadiur Rahman
March 14, 2012
HTML5
   http://www.20thingsilearned.com/en-US/theend/1
   http://cinema-series.orange.fr/evenement/universeries/en/
   http://agent8ball.com/
   http://www.nakshart.com/#
   http://www.ro.me/film
   http://www.20thingsilearned.com/en-US
HTML5
HTML5
HTML5
Agenda
   HTML5 Structure & Semantic
   Web Form
   Web Worker
   HTML5 Storage
   Audio &Video, Geo location
   Web Sockets
   Web Messaging
   Microdata, History API
   CSS3 & Best Practices
   Drag & Drop
   Canvas
HTML5 Structural & Semantic
HTML5 Structural & Semantic
HTML5 Structural & Semantic
Web From
http://slides.html5rocks.com/#new-form-types
Web Worker
   HTML5 Web Workers are essentially threads that
    are created via JavaScript. Yes, that's right, the
    ability to create new threads in the browser

   http://www.w3schools.com/html5/html5_webworke
    rs.asp
Web Storage
   Session Storage
   Local Storage
   Database Storage
   File API

http://slides.html5rocks.com/#web-storage
Microdata
   Microdata is a standardized way to provide additional
    semantics in your web pages.
   Microdata lets you define your own customized elements and
    start embedding custom properties in your web pages. At a
    high level, microdata consists of a group of name-value pairs.
   The groups are called items, and each name-value pair is
    a property. Items and properties are represented by regular
    elements.

http://slides.html5rocks.com/#link-relations
History API
   HTML5 introducing the new history API.
   The history API has been around for quite a long time now. It
    has been used in the past to force the browser to go back to
    its previous state
   Following event is fired off when someone has pressed
    forward or backward :
        window.history.pushState(stateObj,title,url)
        window.history.replaceState(stateObj,title,url)
        window.onpopstate = function(event) { /** **/ }
http://slides.html5rocks.com/#history-api
Audio & Video
   Audio
   Video

http://slides.html5rocks.com/#video-audio
Geo location
   The HTML5 Geolocation API is used to get the
    geographical position of a user.
   Since this can compromise user privacy, the position
    is not available unless the user approves it

http://slides.html5rocks.com/#geolocation
Web Sockets
   Web Sockets is a next-generation bidirectional
    communication technology for web applications which
    operates over a single socket and is exposed via a JavaScript
    interface in HTML 5 compliant browsers.
   Once you get a Web Socket connection with the web server,
    you can send data from browser to server by calling
    a send() method, and receive data from server to browser by
    an onmessageevent handler.

http://slides.html5rocks.com/#web-workers
Web Messaging
   Communicate across domains
   Across window objects
   With web worker
   String Transfer only
CSS3 & Best Practices
http://slides.html5rocks.com/#css-selectors
Drag & Drop

   Now HTML 5 came up with a Drag and Drop (DnD)
    API that brings native DnD support to the browser
    making it much easier to code up.
   HTML 5 DnD is supported by all the major browsers
    like Chrome, Firefox 3.5 and Safari 4 etc

http://slides.html5rocks.com/#hardware-access-title
Canvas
   The HTML5 <canvas> element is used to draw
    graphics, on the fly, via scripting (usually
    JavaScript).
   The <canvas> element is only a container for
    graphics, you must use a script to actually draw the
    graphics.
   A canvas is a drawable region defined in HTML
    code with height and width attributes.

http://slides.html5rocks.com/#canvas-2d
Resources
   https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-
    browser-Polyfills
   http://www.whatwg.org/specs/web-apps/current-
    work/multipage/
   http://html5doctor.com/element-index/
   http://www.w3schools.com/html5/html5_new_elements.asp

More Related Content

What's hot (20)

PPTX
HTML5: a quick overview
Mark Whitaker
 
KEY
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
PDF
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
PPTX
HTML5 & CSS3
Ian Lintner
 
PDF
Using Web Standards to create Interactive Data Visualizations for the Web
philogb
 
PDF
Web Components
Nikolaus Graf
 
PPTX
Presentation about html5 css3
Gopi A
 
PPTX
HTML5 for Rich User Experience
Mahbubur Rahman
 
PPT
Decoding the Web
newcircle
 
PDF
Introduction to Web Components
Fu Cheng
 
PPT
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Mahbubur Rahman
 
PDF
Introduction to Web Components
Rich Bradshaw
 
PPTX
Html5 - Novas Tags na Prática!
Rômulo Reis de Oliveira
 
PDF
Data presentation with dust js technologies backing linkedin
Ruhaim Izmeth
 
PPTX
Polymer and web component
Imam Raza
 
PDF
Polymer
jskvara
 
PDF
HTML5와 오픈소스 기반의 Web Components 기술
Jeongkyu Shin
 
PDF
Building a Secure App with Google Polymer and Java / Spring
sdeeg
 
PPTX
How to build a web application with Polymer
Sami Suo-Heikki
 
PPTX
JavaScript front end performance optimizations
Chris Love
 
HTML5: a quick overview
Mark Whitaker
 
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
HTML5 & CSS3
Ian Lintner
 
Using Web Standards to create Interactive Data Visualizations for the Web
philogb
 
Web Components
Nikolaus Graf
 
Presentation about html5 css3
Gopi A
 
HTML5 for Rich User Experience
Mahbubur Rahman
 
Decoding the Web
newcircle
 
Introduction to Web Components
Fu Cheng
 
Taking Advantage of Client Side / JavsScript Templates in Rich Internet Appli...
Mahbubur Rahman
 
Introduction to Web Components
Rich Bradshaw
 
Html5 - Novas Tags na Prática!
Rômulo Reis de Oliveira
 
Data presentation with dust js technologies backing linkedin
Ruhaim Izmeth
 
Polymer and web component
Imam Raza
 
Polymer
jskvara
 
HTML5와 오픈소스 기반의 Web Components 기술
Jeongkyu Shin
 
Building a Secure App with Google Polymer and Java / Spring
sdeeg
 
How to build a web application with Polymer
Sami Suo-Heikki
 
JavaScript front end performance optimizations
Chris Love
 

Similar to Introduction to html5 (20)

PPTX
Html5
Zahin Omar Alwa
 
PDF
HTML5 features & JavaScript APIs
Fisnik Doko
 
PPT
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
ODP
Html5
prithag92
 
ODP
Html5
prithag92
 
PPT
Html5 Future of WEB
Amit Choudhary
 
PPTX
Lecture8 web design and development
Rafi Haidari
 
ODP
Html5
mikusuraj
 
PPTX
HTML 5
Rajan Pal
 
PDF
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
PDF
HTML5 Technical Executive Summary
Gilad Khen
 
PDF
Jsf2 html5-jazoon
Roger Kitain
 
PPT
HTML5 Presentation
vs4vijay
 
PDF
HTML5 and CSS3 refresher
Ivano Malavolta
 
PDF
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
KEY
Introduction to HTML5/CSS3 In Drupal 7
Mediacurrent
 
PPT
HTML5 Webinar - Mind Storm Software
Romin Irani
 
PPT
Html5(2)
Carol Maughan
 
PPT
Html5(2)
CMaughan
 
HTML5 features & JavaScript APIs
Fisnik Doko
 
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
Html5
prithag92
 
Html5
prithag92
 
Html5 Future of WEB
Amit Choudhary
 
Lecture8 web design and development
Rafi Haidari
 
Html5
mikusuraj
 
HTML 5
Rajan Pal
 
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
HTML5 Technical Executive Summary
Gilad Khen
 
Jsf2 html5-jazoon
Roger Kitain
 
HTML5 Presentation
vs4vijay
 
HTML5 and CSS3 refresher
Ivano Malavolta
 
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
Introduction to HTML5/CSS3 In Drupal 7
Mediacurrent
 
HTML5 Webinar - Mind Storm Software
Romin Irani
 
Html5(2)
Carol Maughan
 
Html5(2)
CMaughan
 
Ad

Recently uploaded (20)

PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
July Patch Tuesday
Ivanti
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Ad

Introduction to html5

  • 1. HTML5: INTRODUCTION By Muktadiur Rahman March 14, 2012
  • 2. HTML5  http://www.20thingsilearned.com/en-US/theend/1  http://cinema-series.orange.fr/evenement/universeries/en/  http://agent8ball.com/  http://www.nakshart.com/#  http://www.ro.me/film  http://www.20thingsilearned.com/en-US
  • 6. Agenda  HTML5 Structure & Semantic  Web Form  Web Worker  HTML5 Storage  Audio &Video, Geo location  Web Sockets  Web Messaging  Microdata, History API  CSS3 & Best Practices  Drag & Drop  Canvas
  • 11. Web Worker  HTML5 Web Workers are essentially threads that are created via JavaScript. Yes, that's right, the ability to create new threads in the browser  http://www.w3schools.com/html5/html5_webworke rs.asp
  • 12. Web Storage  Session Storage  Local Storage  Database Storage  File API http://slides.html5rocks.com/#web-storage
  • 13. Microdata  Microdata is a standardized way to provide additional semantics in your web pages.  Microdata lets you define your own customized elements and start embedding custom properties in your web pages. At a high level, microdata consists of a group of name-value pairs.  The groups are called items, and each name-value pair is a property. Items and properties are represented by regular elements. http://slides.html5rocks.com/#link-relations
  • 14. History API  HTML5 introducing the new history API.  The history API has been around for quite a long time now. It has been used in the past to force the browser to go back to its previous state  Following event is fired off when someone has pressed forward or backward : window.history.pushState(stateObj,title,url) window.history.replaceState(stateObj,title,url) window.onpopstate = function(event) { /** **/ } http://slides.html5rocks.com/#history-api
  • 15. Audio & Video  Audio  Video http://slides.html5rocks.com/#video-audio
  • 16. Geo location  The HTML5 Geolocation API is used to get the geographical position of a user.  Since this can compromise user privacy, the position is not available unless the user approves it http://slides.html5rocks.com/#geolocation
  • 17. Web Sockets  Web Sockets is a next-generation bidirectional communication technology for web applications which operates over a single socket and is exposed via a JavaScript interface in HTML 5 compliant browsers.  Once you get a Web Socket connection with the web server, you can send data from browser to server by calling a send() method, and receive data from server to browser by an onmessageevent handler. http://slides.html5rocks.com/#web-workers
  • 18. Web Messaging  Communicate across domains  Across window objects  With web worker  String Transfer only
  • 19. CSS3 & Best Practices http://slides.html5rocks.com/#css-selectors
  • 20. Drag & Drop  Now HTML 5 came up with a Drag and Drop (DnD) API that brings native DnD support to the browser making it much easier to code up.  HTML 5 DnD is supported by all the major browsers like Chrome, Firefox 3.5 and Safari 4 etc http://slides.html5rocks.com/#hardware-access-title
  • 21. Canvas  The HTML5 <canvas> element is used to draw graphics, on the fly, via scripting (usually JavaScript).  The <canvas> element is only a container for graphics, you must use a script to actually draw the graphics.  A canvas is a drawable region defined in HTML code with height and width attributes. http://slides.html5rocks.com/#canvas-2d
  • 22. Resources  https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross- browser-Polyfills  http://www.whatwg.org/specs/web-apps/current- work/multipage/  http://html5doctor.com/element-index/  http://www.w3schools.com/html5/html5_new_elements.asp