SlideShare a Scribd company logo
HTML5
Contents
HTML5
 Origin
 Introduction
 Features
 Why HTMl5?
 Resources
 Demo HTML5 Applications.
Origin
   HTML5 introduces many cutting-edge features that
    enable developers to create apps and websites with the
    functionality, speed, performance, and experience of
    desktop applications

   HTML5 is a cooperation between the World Wide Web
    Consortium (W3C) and the Web Hypertext Application
    Technology Working Group (WHATWG).

   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.

   Steve Jobs thrashed Adobe Flash in an Open Letter
    April 2010
Introduction
   HTMl* is the core technology of the World Wide Web
   With HTML, authors describe the structure of Web
    pages using Markup <tags>
   The new standard for HTML, XML, and HTML DOM
   New features should be based on HTML, CSS, DOM,
    and JavaScript
   Reduce the need for external plugins (like Flash)
   Better error handling
   More markup to replace scripting
   HTML5 should be device independent
   The development process should be visible to the
    public
Features
   Storage
   File Access
   Offline
   Multimedia
   Graphics
   Geolocation
Storage
   With HTML5, web pages can store data locally within
    the user's browser.

   Earlier, this was done with cookies. However, Web
    Storage is more secure and faster. The data is not
    included with every server request, but used ONLY
    when asked for. It is also possible to store large
    amounts of data, without affecting the website's
    performance.

   The data is stored in key/value pairs, and a web page
    can only access data stored by itself
Storage
   Two new objects for storing data on the client side:
 localStorage - stores data with no expiration date
 sessionStorage - stores data for one session


   The localStorage object stores the data with no
    expiration date. The data will not be deleted when the
    browser is closed, and will be available the next day,
    week, or year.

 Set an Item Value: localStorage.setItem("bar", foo);
 Get the Item Value: localStorage.getItem("bar")
 Remove the Item Value: localStorage.removeItem(“bar”)
Storage
   The sessionStorage object is equal to the localStorage
    object, except that it stores the data for only one
    session. The data is deleted when the user closes the
    browser window.

 Set an Item Value: sessionStorage.setItem("bar", foo);
 Get the Item Value: sessionStorage.getItem("bar")
 Remove the Item Value:
  sessionStorage.removeItem(“bar”)
File Access
   HTML5 provides very powerful APIs to interact with
    binary data and a user's local file system.

   The File APIs give web applications the ability to do
    things like read files [a]synchronously, create arbitrary
    Blobs, write files to a temporary location, recursively
    read a file directory, perform file drag and drop from the
    desktop to the browser, and upload binary data
    usingXMLHttpRequest2.


   You could use client-side logic to verify an upload's
    mimetype matches its file extension or restrict the size
    of an upload
File Access
function onInitFs(fs) {
 fs.root.getFile('log.txt', {}, function(fileEntry) {
  // Get a File object representing the file,
  // then use FileReader to read its contents.
  fileEntry.file(function(file) {
    var reader = new FileReader();
    reader.onloadend = function(e) {
     var txtArea = document.createElement('textarea');
     txtArea.value = this.result;
     document.body.appendChild(txtArea); };
    reader.readAsText(file);
  }, errorHandler);
 }, errorHandler); }
window.requestFileSystem(window.TEMPORARY, 1024*1024, onInitFs, errorHandler);
File Access
Offline
 It's becoming increasingly important for web-based
  applications to be accessible offline.
 Yes, all browsers have caching mechanisms, but they're
  unreliable and don't always work as you might expect.
  HTML5 addresses some of the annoyances of being
  offline with the ApplicationCache interface.

 Offline browsing - users can navigate your full site when
  they're offline
 Speed - cached resources are local, and therefore load
  faster.
 Reduced server load - the browser will only download
  resources from the server that have changed.
Offline
 The manifest file is a simple text file, which tells the
  browser what to cache (and what to never cache).
 The manifest file has three sections:


   CACHE MANIFEST - Files listed under this header will
    be cached after they are downloaded for the first time

   NETWORK - Files listed under this header require a
    connection to the server, and will never be cached

   FALLBACK - Files listed under this header specifies
    fallback pages if a page is inaccessible
Offline
   <!DOCTYPE HTML>
    <html manifest="demo.appcache">
    </html>


   CACHE MANIFEST
    # 2012-02-21 v1.0.0
    /theme.css
    /logo.gif
    /main.js

    NETWORK:
    login.asp

    FALLBACK:
    /html/ /offline.html
MultiMedia
   Audio and Video became first-class citizens on the Web
    with HTML5 the same way that other media types like
    images did in the past.

   Through their new APIs you can access, control and
    manipulate timeline data and network states of the files.
    With the coming additions to the APIs you will be able to
    read and write raw data to audio files (Audio Data API)
    or manipulate captions in videos (Timed Track API).

   But the real power of these new HTML elements stands
    out when they are combined with the other technologies
    of the web stack, be it Canvas, SVG, CSS or even
    WebGL.
MultiMedia
 To play an audio file in HTML5:
     <audio controls>
     <source src="horse.ogg" type="audio/ogg">
    <source src="horse.mp3" type="audio/mpeg">
    Your browser does not support the audio element.
    </audio>


To play a Video in HTML5:
     <video width="320" height="240" controls>
    <source src="movie.mp4" type="video/mp4">
    <source src="movie.ogg" type="video/ogg">
   Your browser does not support the video tag.
   </video>
Graphics
   The web has always been a visual medium, but a
    restricted one at best.

   Until recently, HTML developers were limited to CSS
    and JavaScript in order to produce animations or visual
    effects for their websites, or they would have to rely on
    a plugin like Flash.

   There are many new features which deal with graphics
    on the web: 2D Canvas, SVG, 3D CSS transforms etc.
Graphics
 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.

   <script>
    var c=document.getElementById("myCanvas");
    var ctx=c.getContext("2d");
    ctx.fillStyle="#FF0000";
    ctx.fillRect(0,0,150,75);
    </script>
Geolocation
 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.

 This functionality could be used as part of user queries,
  e.g.
 to guide someone to a destination point.
 It could also be used for "geo-tagging" some content the
  user has created, e.g. to mark where a photo was
  taken.

   The API is device-agnostic; it doesn't care how the
    browser determines location, so long as clients can
    request and receive location data in a standard way.
Geolocation
<script>
   var x=document.getElementById(“geo");
      function getLocation()
       {
        if (navigator.geolocation)
        {
         navigator.geolocation.getCurrentPosition(showPosition);
        }
        else{
      x.innerHTML="Geolocation is not supported by this browser."; }
      }
       function showPosition(position)
     {
      x.innerHTML="Latitude: " + position.coords.latitude +
      "<br>Longitude: " + position.coords.longitude;
    }
</script>
Why HTML5?
   Non - Monolithic technology
   A collection of features, technologies, and APIs
   Fast. Secure. Responsive. Interactive. Stunningly
    beautiful – Words associated with HTML5.
   Accelerates the pace of your innovation
   Enables you to seamlessly roll out your latest work to all
    your users simultaneously.
   Frees your users from the hassles of having to install
    apps across multiple devices.
   Fifth revision of the HTML markup language, CSS3, and
    a series of JavaScript APIs
Why HTML5?
   Enables you to create complex applications that
    previously could be created only for desktop platforms.
   Belong to W3C & WHATWG that includes Google,
    Microsoft, Apple, Mozilla, Facebook, IBM, HP, Adobe.
   Next Generation -web Apps can
   run high-performance graphics,
   work offline,
   store a large amount of data on the client,
   perform calculations fast,
   More interactivity and collaboration.
Resources
 http://w3c.org
 http://html5readiness.com
 https://developer.mozilla.org/en/HTML/HTML5
 http://w3schools.com/html5
 http://caniuse.com
 http://html5test.com
 http://dev.chromium.org/developers/web-platform-
  status
 http://html5demos.com
 http://developer.apple.com/safari
Demo
Demo
Ad

More Related Content

What's hot (20)

Web components
Web componentsWeb components
Web components
Noam Kfir
 
Html5 - Awesome APIs
Html5 - Awesome APIsHtml5 - Awesome APIs
Html5 - Awesome APIs
Dragos Ionita
 
Using Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the WebUsing Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the Web
philogb
 
What is HTML5
What is HTML5What is HTML5
What is HTML5
Kyohei Morimoto
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
Jamshid Hashimi
 
Apache Cordova 4.x
Apache Cordova 4.xApache Cordova 4.x
Apache Cordova 4.x
Ivano Malavolta
 
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web ToolkitJava Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
IMC Institute
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
google drive and the google drive sdk
google drive and the google drive sdkgoogle drive and the google drive sdk
google drive and the google drive sdk
firenze-gtug
 
Krishnakumar Rajendran (1)
Krishnakumar Rajendran (1)Krishnakumar Rajendran (1)
Krishnakumar Rajendran (1)
Krishna Rajendran
 
Cloud Computing: Changing the software business
Cloud Computing: Changing the software businessCloud Computing: Changing the software business
Cloud Computing: Changing the software business
Software Park Thailand
 
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : DatastoreJava Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : Datastore
IMC Institute
 
Full Stack Developer
Full Stack DeveloperFull Stack Developer
Full Stack Developer
Akbar Uddin
 
Google Web Toolkit
Google Web ToolkitGoogle Web Toolkit
Google Web Toolkit
Software Park Thailand
 
Note of CGI and ASP
Note of CGI and ASPNote of CGI and ASP
Note of CGI and ASP
William Lee
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher
Ivano Malavolta
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
dynamis
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
Daniel Arndt Alves
 
HTML5 Mullet: Forms & Input Validation
HTML5 Mullet: Forms & Input ValidationHTML5 Mullet: Forms & Input Validation
HTML5 Mullet: Forms & Input Validation
Todd Anglin
 
5. HTML5
5. HTML55. HTML5
5. HTML5
Jalpesh Vasa
 
Web components
Web componentsWeb components
Web components
Noam Kfir
 
Html5 - Awesome APIs
Html5 - Awesome APIsHtml5 - Awesome APIs
Html5 - Awesome APIs
Dragos Ionita
 
Using Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the WebUsing Web Standards to create Interactive Data Visualizations for the Web
Using Web Standards to create Interactive Data Visualizations for the Web
philogb
 
New Elements & Features in HTML5
New Elements & Features in HTML5New Elements & Features in HTML5
New Elements & Features in HTML5
Jamshid Hashimi
 
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web ToolkitJava Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
Java Web Programming on Google Cloud Platform [3/3] : Google Web Toolkit
IMC Institute
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
google drive and the google drive sdk
google drive and the google drive sdkgoogle drive and the google drive sdk
google drive and the google drive sdk
firenze-gtug
 
Cloud Computing: Changing the software business
Cloud Computing: Changing the software businessCloud Computing: Changing the software business
Cloud Computing: Changing the software business
Software Park Thailand
 
Java Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : DatastoreJava Web Programming on Google Cloud Platform [2/3] : Datastore
Java Web Programming on Google Cloud Platform [2/3] : Datastore
IMC Institute
 
Full Stack Developer
Full Stack DeveloperFull Stack Developer
Full Stack Developer
Akbar Uddin
 
Note of CGI and ASP
Note of CGI and ASPNote of CGI and ASP
Note of CGI and ASP
William Lee
 
[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher[2015/2016] HTML5 and CSS3 Refresher
[2015/2016] HTML5 and CSS3 Refresher
Ivano Malavolta
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
dynamis
 
HTML5 Mullet: Forms & Input Validation
HTML5 Mullet: Forms & Input ValidationHTML5 Mullet: Forms & Input Validation
HTML5 Mullet: Forms & Input Validation
Todd Anglin
 

Similar to Html5 (20)

HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
Vineeth N Krishnan
 
Html5 workshop part 1
Html5 workshop part 1Html5 workshop part 1
Html5 workshop part 1
NAILBITER
 
Qnx html5 hmi
Qnx html5 hmiQnx html5 hmi
Qnx html5 hmi
길수 김
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
Gil Fink
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
Pankaj Bajaj
 
What is HTML 5?
What is HTML 5?What is HTML 5?
What is HTML 5?
Susan Winters
 
HTML 5
HTML 5HTML 5
HTML 5
Rajan Pal
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
GreekTuts Ελληνικά Βοηθήματα
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
Panagiotis Grigoropoulos
 
Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta
Commit University
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
George Kanellopoulos
 
Making Of PHP Based Web Application
Making Of PHP Based Web ApplicationMaking Of PHP Based Web Application
Making Of PHP Based Web Application
Sachin Walvekar
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
HTML5 for Rich User Experience
HTML5 for Rich User ExperienceHTML5 for Rich User Experience
HTML5 for Rich User Experience
Mahbubur Rahman
 
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
Tilak Joshi
 
Html5 & less css
Html5 & less cssHtml5 & less css
Html5 & less css
Graham Johnson
 
Html5 Future of WEB
Html5 Future of WEBHtml5 Future of WEB
Html5 Future of WEB
Amit Choudhary
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
Sascha Corti
 
Web app and more
Web app and moreWeb app and more
Web app and more
faming su
 
Web Apps and more
Web Apps and moreWeb Apps and more
Web Apps and more
Yan Shi
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
Vineeth N Krishnan
 
Html5 workshop part 1
Html5 workshop part 1Html5 workshop part 1
Html5 workshop part 1
NAILBITER
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
Gil Fink
 
Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta Workshop HTML5+PhoneGap by Ivano Malavolta
Workshop HTML5+PhoneGap by Ivano Malavolta
Commit University
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
George Kanellopoulos
 
Making Of PHP Based Web Application
Making Of PHP Based Web ApplicationMaking Of PHP Based Web Application
Making Of PHP Based Web Application
Sachin Walvekar
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
HTML5 for Rich User Experience
HTML5 for Rich User ExperienceHTML5 for Rich User Experience
HTML5 for Rich User Experience
Mahbubur Rahman
 
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
Tilak Joshi
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
Sascha Corti
 
Web app and more
Web app and moreWeb app and more
Web app and more
faming su
 
Web Apps and more
Web Apps and moreWeb Apps and more
Web Apps and more
Yan Shi
 
Ad

Recently uploaded (20)

Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Ad

Html5

  • 2. Contents HTML5  Origin  Introduction  Features  Why HTMl5?  Resources  Demo HTML5 Applications.
  • 3. Origin  HTML5 introduces many cutting-edge features that enable developers to create apps and websites with the functionality, speed, performance, and experience of desktop applications  HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).  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.  Steve Jobs thrashed Adobe Flash in an Open Letter April 2010
  • 4. Introduction  HTMl* is the core technology of the World Wide Web  With HTML, authors describe the structure of Web pages using Markup <tags>  The new standard for HTML, XML, and HTML DOM  New features should be based on HTML, CSS, DOM, and JavaScript  Reduce the need for external plugins (like Flash)  Better error handling  More markup to replace scripting  HTML5 should be device independent  The development process should be visible to the public
  • 5. Features  Storage  File Access  Offline  Multimedia  Graphics  Geolocation
  • 6. Storage  With HTML5, web pages can store data locally within the user's browser.  Earlier, this was done with cookies. However, Web Storage is more secure and faster. The data is not included with every server request, but used ONLY when asked for. It is also possible to store large amounts of data, without affecting the website's performance.  The data is stored in key/value pairs, and a web page can only access data stored by itself
  • 7. Storage  Two new objects for storing data on the client side:  localStorage - stores data with no expiration date  sessionStorage - stores data for one session  The localStorage object stores the data with no expiration date. The data will not be deleted when the browser is closed, and will be available the next day, week, or year.  Set an Item Value: localStorage.setItem("bar", foo);  Get the Item Value: localStorage.getItem("bar")  Remove the Item Value: localStorage.removeItem(“bar”)
  • 8. Storage  The sessionStorage object is equal to the localStorage object, except that it stores the data for only one session. The data is deleted when the user closes the browser window.  Set an Item Value: sessionStorage.setItem("bar", foo);  Get the Item Value: sessionStorage.getItem("bar")  Remove the Item Value: sessionStorage.removeItem(“bar”)
  • 9. File Access  HTML5 provides very powerful APIs to interact with binary data and a user's local file system.  The File APIs give web applications the ability to do things like read files [a]synchronously, create arbitrary Blobs, write files to a temporary location, recursively read a file directory, perform file drag and drop from the desktop to the browser, and upload binary data usingXMLHttpRequest2.  You could use client-side logic to verify an upload's mimetype matches its file extension or restrict the size of an upload
  • 10. File Access function onInitFs(fs) { fs.root.getFile('log.txt', {}, function(fileEntry) { // Get a File object representing the file, // then use FileReader to read its contents. fileEntry.file(function(file) { var reader = new FileReader(); reader.onloadend = function(e) { var txtArea = document.createElement('textarea'); txtArea.value = this.result; document.body.appendChild(txtArea); }; reader.readAsText(file); }, errorHandler); }, errorHandler); } window.requestFileSystem(window.TEMPORARY, 1024*1024, onInitFs, errorHandler);
  • 12. Offline  It's becoming increasingly important for web-based applications to be accessible offline.  Yes, all browsers have caching mechanisms, but they're unreliable and don't always work as you might expect. HTML5 addresses some of the annoyances of being offline with the ApplicationCache interface.  Offline browsing - users can navigate your full site when they're offline  Speed - cached resources are local, and therefore load faster.  Reduced server load - the browser will only download resources from the server that have changed.
  • 13. Offline  The manifest file is a simple text file, which tells the browser what to cache (and what to never cache).  The manifest file has three sections:  CACHE MANIFEST - Files listed under this header will be cached after they are downloaded for the first time  NETWORK - Files listed under this header require a connection to the server, and will never be cached  FALLBACK - Files listed under this header specifies fallback pages if a page is inaccessible
  • 14. Offline  <!DOCTYPE HTML> <html manifest="demo.appcache"> </html>  CACHE MANIFEST # 2012-02-21 v1.0.0 /theme.css /logo.gif /main.js NETWORK: login.asp FALLBACK: /html/ /offline.html
  • 15. MultiMedia  Audio and Video became first-class citizens on the Web with HTML5 the same way that other media types like images did in the past.  Through their new APIs you can access, control and manipulate timeline data and network states of the files. With the coming additions to the APIs you will be able to read and write raw data to audio files (Audio Data API) or manipulate captions in videos (Timed Track API).  But the real power of these new HTML elements stands out when they are combined with the other technologies of the web stack, be it Canvas, SVG, CSS or even WebGL.
  • 16. MultiMedia To play an audio file in HTML5: <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> To play a Video in HTML5: <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
  • 17. Graphics  The web has always been a visual medium, but a restricted one at best.  Until recently, HTML developers were limited to CSS and JavaScript in order to produce animations or visual effects for their websites, or they would have to rely on a plugin like Flash.  There are many new features which deal with graphics on the web: 2D Canvas, SVG, 3D CSS transforms etc.
  • 18. Graphics  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.  <script> var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.fillStyle="#FF0000"; ctx.fillRect(0,0,150,75); </script>
  • 19. Geolocation  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.  This functionality could be used as part of user queries, e.g.  to guide someone to a destination point.  It could also be used for "geo-tagging" some content the user has created, e.g. to mark where a photo was taken.  The API is device-agnostic; it doesn't care how the browser determines location, so long as clients can request and receive location data in a standard way.
  • 20. Geolocation <script> var x=document.getElementById(“geo"); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else{ x.innerHTML="Geolocation is not supported by this browser."; } } function showPosition(position) { x.innerHTML="Latitude: " + position.coords.latitude + "<br>Longitude: " + position.coords.longitude; } </script>
  • 21. Why HTML5?  Non - Monolithic technology  A collection of features, technologies, and APIs  Fast. Secure. Responsive. Interactive. Stunningly beautiful – Words associated with HTML5.  Accelerates the pace of your innovation  Enables you to seamlessly roll out your latest work to all your users simultaneously.  Frees your users from the hassles of having to install apps across multiple devices.  Fifth revision of the HTML markup language, CSS3, and a series of JavaScript APIs
  • 22. Why HTML5?  Enables you to create complex applications that previously could be created only for desktop platforms.  Belong to W3C & WHATWG that includes Google, Microsoft, Apple, Mozilla, Facebook, IBM, HP, Adobe.  Next Generation -web Apps can  run high-performance graphics,  work offline,  store a large amount of data on the client,  perform calculations fast,  More interactivity and collaboration.
  • 23. Resources  http://w3c.org  http://html5readiness.com  https://developer.mozilla.org/en/HTML/HTML5  http://w3schools.com/html5  http://caniuse.com  http://html5test.com  http://dev.chromium.org/developers/web-platform- status  http://html5demos.com  http://developer.apple.com/safari
  • 24. Demo
  • 25. Demo