SlideShare uma empresa Scribd logo
1 de 33
Presented By:

Prashant Rathod

Suraj Ratnaparkhi
CONTENTS
What is HTML?
History
HTML 5
Aim
Rules
New Features
Browser Compatibility
OS Compatibility
Application
Future
Conclusion
What is HTML?
First available description of HTML was a document called "HTML Tags", first
mentioned on the Internet by Berners-Lee in late 1991.

HyperText Markup Language (HTML) is the main markup language for web
pages.

HTML is written in the form of HTML elements consisting of tags enclosed in
angle brackets (like <html>) which are basic building blocks for web pages.

Browser does not display the HTML tags, but uses the tags to interpret the
 content of the page.

HTML allows images and objects to be embedded and can be used to create
interactive forms.

Web browsers can also refer to Cascading Style Sheets (CSS) to define the
appearance and layout of text and other material.
What you need?
You don't need any tools to learn HTML .


 You don't need an HTML editor.
 You don't need a web server.
 You don't need a web site.
History
HTML 2.0 (November 1995)


HTML 3.2 was published as a W3C Recommendation(January 1997).


HTML 4.0 was published as a W3C Recommendation(December 1997).


HTML 4.01was published as an ISO/IEC international standard(May 2000).


HTML 5(Still work in progress).
HTML 5

HTML5 is a cooperation between the World Wide Web Consortium
(W3C) and    the Web Hypertext Application Technology Working
Group (WHATWG).
In 2006, they started work on new version of HTML.
HTML5 is still a work in progress.
No browser currently fully support HTML5.
Some of the browsers continue to add new features of HTML in their
new versions.
AIM

Aim behind development of HTML5 was:

Need for support for latest multimedia due continuously evolving Internet.

Compatibility with latest OS and Browsers.
RULES

New features based on HTML, CSS, DOM, JavaScript.

Reduce need for external plug-in(like Flash).

Better Error Handling.

More Mark-Up to replace Scripting.

Device Independent.
NEW FEATURES
New Elements.

New Attributes.

Full CSS3 Support.

Video and Audio.

2D/3D support.

Web Storage.

Local SQL Database.

Web Application.
New Elements:
 Some elements in HTML 4.01 are obsolete, never used, or not used the
 way they were intended to. These elements are removed or re-written in
 HTML5.

 New Semantic/Structural Elements:
 <article>
 <bdi>
 <command>
 <figure>
 <figcaption>
 <footer>
 <header>
 <hgroup>
 <meter>
 <progress>
 <section>
(b) New Media Elements:

   <audio>
   <video>
   <source>
   <embed>
   <track>


(c) New Canvas Element:

   <canvas>
(d) New Form Elements:

   <datalist>
   <keygen>
   <output>
Removed Elements
The following HTML 4.01 elements are removed from HTML5:


    <acronym>
    <applet>
    <basefont>
    <big>
    <center>
    <dir>
    <font>
    <frame>
    <frameset>
    <noframes>
    <strike>
    <tt>
    <u>
New Attributes

(a) Global Attributes:


contenteditable
contextmenu
draggable
dropzone
hidden
spellcheck
(b) Event Attributes:



  onpagehide
  onpageshow
  onresize
  onstorage
  onforminput
  oninvalid
  onkeydown
  onkeypress
  onkeyup
  ondragleave
  onscroll
  onplay
  onvolumechange
New CSS Support
Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation semantics (the look and formatting) of a document written
in a markup language.
The CSS specifications are maintained by the World Wide Web Consortium
(W3C). Internet media type (MIME type) text/css is registered for use with
CSS.
HTML supports CSS3.
CSS3 is supported by major browsers.
CSS reduces presentation duty of an HTML page.
Modification of looks is simple.
Video & Audio
<video>
  - Allows to embed a video on a web page
  - width, height, controls are the attributes.
  - Very useful feature in today's web scenario.
- <source>,<track> are the tags which can be used along with
   <video>.
<audio>
- Allows to embed a audio on a web page.
- Text displayed between <audio> and </audio> will be shown as an
   error if browser does not support audio.
- autoplay, controls, src, loop, preload ares some of its attributes.
2D/3D Support
<canvas>

 - The <canvas> tag is used to draw graphics, on the fly, via scripting
   (usually JavaScript).

 - The <canvas> tag is only a container for graphics, you must use a script
   to actually draw the graphics.

 - Height and Width are the attributes.

 - HTML5 has a built-in object for the canvas element, the getContext("2d")
   object.

 - Canvas object has API which includes methods for creating, formatting
   various shapes and figures.


 - API also includes methods for image and text manipulation as well as
   transformation.
Web Storage

HTML5, web pages can store data locally within the user's browser.
Web Storage in HTML5 can be viewed as improvement over cookies.
Provides 5-10 MB storage space compared to 4 KB in cookies.
Web Storage is more secure and faster than cookies.
Data is stored in key/value pairs, and a web page can only access
data stored by itself.
Web server can not access web storage data directly.
Store large amounts of data, without affecting the website's
performance.
Two new objects for storing data on the client:
   (a) localStorage - stores data with no expiration date
   (b) sessionStorage - stores data for one session
localStorage and sessionStorage
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.
 localStorage.setItem('myKey', 'myValue');
 var myVar = localStorage.getItem('myKey');


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.
     sessionStorage.setItem('myKey', 'myValue');
     var myVar = sessionStorage.getItem('myKey');
Application Cache
When web application is cached, it can accessible without an internet
connection.
Application cache gives an application three advantages:
(1) Offline browsing - users can use the application when they're offline.
(2) Speed - cached resources load faster.
(3) Reduced server load - the browser will only download
   updated/changed resources from the server.
To enable application cache, include the manifest attribute in the
 document's <html> tag:


 <!DOCTYPE HTML>
   <html manifest="demo.appcache">
     ...
   </html>
Manifest Attribute

Page with the manifest attribute specified will be cached when the user
 visits it.
Recommended file extension for manifest files is: ".appcache"
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:
   (a) CACHE MANIFEST - Files listed under this header will be cached
after they are downloaded for the first time
 (b) NETWORK - Files listed under this header require a connection to
       the server, and will never be cached
 (c) FALLBACK - Files listed under this header specifies fallback pages
       if a page is inaccessible
Geo-location
HTML5 Geo-location API is used to get the geographical position of
a web site user.
getCurrentPosition() method to get the user's position.
If the getCurrentPosition() method is successful, it returns a
coordinates object to the function specified in the
 parameter(showPosition)
showPosition() function gets the displays the Latitude and
 Longitude.
watchPosition() - Returns the current position of the user and
continues to return updated position as the user moves.
Since this can compromise user privacy, the position is not available
unless the user approves it.
Web Worker
What is a Web Worker?
 -When executing scripts in an HTML page, the page becomes
unresponsive until the script is finished.
 -For concurrent execution of the browser threads and one or more
JavaScript threads running in the background.
 Supposed to run without affecting the performance of the web page.
Communication between page & worker is done via message passing.
Steps for creating a web worker.
(1) Create a Web Worker file.
  This is a JavaScript file which is used by web worker object.
(2) Create a Web Worker Object.
   Worker w=new Worker("demo_workers.js");
(3) Terminate Web Worker Object.
   w.close();
Drag & Drop
Drag and drop is a very common feature.
In HTML5 any element is draggable .
To make an element draggable, set the draggable attribute to true
< img draggable=”true”/>
What to drag?
-ondragstart attribute calls a function, drag(event) which has a method
 dataTransfer.setData() method sets the data type and the value of the
 dragged data.
Where to drag?
-ondragover event tells about where to drop dragged element.
-To prevent default drop handling we use event.preventDefault() method.
Do the drop:
When the dragged data is dropped, a drop event occurs.
drop(event) function we implement things which will occur on release of
drag operation.
Inline SVG
SVG stands for Scalable Vector Graphics used to define vector-
based graphics for the Web.
SVG graphics do NOT lose any quality if they are zoomed or
resized.
SVG is a W3C recommendation.
SVG images can be searched, indexed, scripted, and compressed.
SVG images are scalable.
                              <html>
                              <body>
                              <svg xmlns="http://www.w3.org/2000/svg"
                              version="1.1" height="190">
                               <polygon points="100,10 40,180 190,60 10,60
                              160,180"
                               style="fill:lime;stroke:purple;stroke-width:5;fill-
                              rule:evenodd;" />
                              </svg>
                              </body>
                              <html>
Browser Compatibility
 All major browser support HTML5.
 Though no browser fully supports HTML5, most of the browsers keep
 releasing their new version to support various new features of
 HTML5.
 Following Browsers supports HTML5.




We can check how much our browser supports HTML5 by visiting to
following link through our browser.

http://www.html5test.com
Operating Systems Compatibility
HTML5 is supported by many computer Operating Systems like Windows,Mac
etc.
HTML 5 is also supported by many mobile and tablet OS like iOS, Blackberry
Tablet OS, Windows Mobile etc.
Applications
Most powerful aspect of HTML5 is the HTML5 canvas.
HTML5 Canvas is used extensively for graphical web
applications.
E.g. Sketchpad
Music visualization.
Business friendly applications like to make graph, charts
etc.
Game development.
Mobile Web Application development.
Future
HTML5 and CSS3 are clearly the future of the web
HTML5 as an alternative to Flash.
HTML5 Multimedia is currently the only way to deliver web-based video
content on iOS devices.
HTML5’s dynamic nature will provide broader cross platform
compatibility benefits.
Online Game development.
Future OS using HTML5 already in their native applications.
HTML5 Local Storage allows to store data in your browser and make
that data available when you return.
Conclusion
HTML5 is still a work in progress
Only a handful of major brands, including Mozilla Firefox and Google
Chrome currently support HTML5 elements.
Microsoft’s Internet Explorer is the most widely used browser and
currently has the least amount of support for HTML5.
To redesign or not to redesign web-sites.
HTML5 will replace the majority of native apps over the next 3 to 5
years.
HTML5 allows online software and content to be much more
interactive and richer.
HTML5 provides powerful browser-based applications.
Thank You

Mais conteúdo relacionado

Mais procurados

Dynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and MobileDynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and Mobilepeychevi
 
Chrome Internals: Paint and Composition
Chrome Internals: Paint and CompositionChrome Internals: Paint and Composition
Chrome Internals: Paint and CompositionDzmitry Varabei
 
Developing windows azure and web services brochure exam code 70-487
Developing windows azure and web services brochure   exam code 70-487Developing windows azure and web services brochure   exam code 70-487
Developing windows azure and web services brochure exam code 70-487Zabeel Institute
 
Html5 with Vaadin and Scala
Html5 with Vaadin and ScalaHtml5 with Vaadin and Scala
Html5 with Vaadin and ScalaJoonas Lehtinen
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web DesignMike Wilcox
 
MICROSOFT ASP.NET ONLINE TRAINING
MICROSOFT ASP.NET ONLINE TRAININGMICROSOFT ASP.NET ONLINE TRAINING
MICROSOFT ASP.NET ONLINE TRAININGSanthosh Sap
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introductiondynamis
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesMark Roden
 
HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1James Pearce
 

Mais procurados (15)

Dynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and MobileDynamic User Interfaces for Desktop and Mobile
Dynamic User Interfaces for Desktop and Mobile
 
Chrome Internals: Paint and Composition
Chrome Internals: Paint and CompositionChrome Internals: Paint and Composition
Chrome Internals: Paint and Composition
 
Offline Html5 3days
Offline Html5 3daysOffline Html5 3days
Offline Html5 3days
 
What is HTML5
What is HTML5What is HTML5
What is HTML5
 
Developing windows azure and web services brochure exam code 70-487
Developing windows azure and web services brochure   exam code 70-487Developing windows azure and web services brochure   exam code 70-487
Developing windows azure and web services brochure exam code 70-487
 
HTML5
HTML5HTML5
HTML5
 
Html5 with Vaadin and Scala
Html5 with Vaadin and ScalaHtml5 with Vaadin and Scala
Html5 with Vaadin and Scala
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
MICROSOFT ASP.NET ONLINE TRAINING
MICROSOFT ASP.NET ONLINE TRAININGMICROSOFT ASP.NET ONLINE TRAINING
MICROSOFT ASP.NET ONLINE TRAINING
 
HTML5 Introduction
HTML5 IntroductionHTML5 Introduction
HTML5 Introduction
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
HTML 5
HTML 5HTML 5
HTML 5
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
 
Krishnakumar Rajendran (1)
Krishnakumar Rajendran (1)Krishnakumar Rajendran (1)
Krishnakumar Rajendran (1)
 
HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1
 

Destaque

Destaque (6)

Plantio da Cana-de-açúcar em Áreas Tradicionais: nordeste brasileiro
Plantio da Cana-de-açúcar em Áreas Tradicionais: nordeste brasileiroPlantio da Cana-de-açúcar em Áreas Tradicionais: nordeste brasileiro
Plantio da Cana-de-açúcar em Áreas Tradicionais: nordeste brasileiro
 
Carcinoma of unknown primary
Carcinoma of unknown primaryCarcinoma of unknown primary
Carcinoma of unknown primary
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Semelhante a Html5

Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3Gopi A
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginnersVineeth N Krishnan
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebGeorge Kanellopoulos
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5Suresh Kumar
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersSascha Corti
 
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
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsIvano Malavolta
 

Semelhante a Html5 (20)

Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
Word camp nextweb
Word camp nextwebWord camp nextweb
Word camp nextweb
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
 
WordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWebWordCamp Thessaloniki2011 The NextWeb
WordCamp Thessaloniki2011 The NextWeb
 
What is HTML 5?
What is HTML 5?What is HTML 5?
What is HTML 5?
 
Html5
Html5Html5
Html5
 
Html5 Future of WEB
Html5 Future of WEBHtml5 Future of WEB
Html5 Future of WEB
 
Html 5
Html 5Html 5
Html 5
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
 
Html5 basics
Html5 basicsHtml5 basics
Html5 basics
 
HTML5 Intoduction for Web Developers
HTML5 Intoduction for Web DevelopersHTML5 Intoduction for Web Developers
HTML5 Intoduction for Web Developers
 
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
 
Presentation Tier optimizations
Presentation Tier optimizationsPresentation Tier optimizations
Presentation Tier optimizations
 
Html5 & less css
Html5 & less cssHtml5 & less css
Html5 & less css
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile apps
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
Html5
Html5Html5
Html5
 

Último

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
physiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxphysiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxAneriPatwari
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptxmary850239
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfChristalin Nelson
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 
The Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressThe Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressMaria Paula Aroca
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 

Último (20)

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
physiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptxphysiotherapy in Acne condition.....pptx
physiotherapy in Acne condition.....pptx
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
DiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdfDiskStorage_BasicFileStructuresandHashing.pdf
DiskStorage_BasicFileStructuresandHashing.pdf
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
The Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian CongressThe Emergence of Legislative Behavior in the Colombian Congress
The Emergence of Legislative Behavior in the Colombian Congress
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 

Html5

  • 2. CONTENTS What is HTML? History HTML 5 Aim Rules New Features Browser Compatibility OS Compatibility Application Future Conclusion
  • 3. What is HTML? First available description of HTML was a document called "HTML Tags", first mentioned on the Internet by Berners-Lee in late 1991. HyperText Markup Language (HTML) is the main markup language for web pages. HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>) which are basic building blocks for web pages. Browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML allows images and objects to be embedded and can be used to create interactive forms. Web browsers can also refer to Cascading Style Sheets (CSS) to define the appearance and layout of text and other material.
  • 4. What you need? You don't need any tools to learn HTML . You don't need an HTML editor. You don't need a web server. You don't need a web site.
  • 5. History HTML 2.0 (November 1995) HTML 3.2 was published as a W3C Recommendation(January 1997). HTML 4.0 was published as a W3C Recommendation(December 1997). HTML 4.01was published as an ISO/IEC international standard(May 2000). HTML 5(Still work in progress).
  • 6. HTML 5 HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). In 2006, they started work on new version of HTML. HTML5 is still a work in progress. No browser currently fully support HTML5. Some of the browsers continue to add new features of HTML in their new versions.
  • 7. AIM Aim behind development of HTML5 was: Need for support for latest multimedia due continuously evolving Internet. Compatibility with latest OS and Browsers.
  • 8. RULES New features based on HTML, CSS, DOM, JavaScript. Reduce need for external plug-in(like Flash). Better Error Handling. More Mark-Up to replace Scripting. Device Independent.
  • 9. NEW FEATURES New Elements. New Attributes. Full CSS3 Support. Video and Audio. 2D/3D support. Web Storage. Local SQL Database. Web Application.
  • 10. New Elements: Some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended to. These elements are removed or re-written in HTML5. New Semantic/Structural Elements: <article> <bdi> <command> <figure> <figcaption> <footer> <header> <hgroup> <meter> <progress> <section>
  • 11. (b) New Media Elements: <audio> <video> <source> <embed> <track> (c) New Canvas Element: <canvas>
  • 12. (d) New Form Elements: <datalist> <keygen> <output>
  • 13. Removed Elements The following HTML 4.01 elements are removed from HTML5: <acronym> <applet> <basefont> <big> <center> <dir> <font> <frame> <frameset> <noframes> <strike> <tt> <u>
  • 14. New Attributes (a) Global Attributes: contenteditable contextmenu draggable dropzone hidden spellcheck
  • 15. (b) Event Attributes: onpagehide onpageshow onresize onstorage onforminput oninvalid onkeydown onkeypress onkeyup ondragleave onscroll onplay onvolumechange
  • 16. New CSS Support Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics (the look and formatting) of a document written in a markup language. The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS. HTML supports CSS3. CSS3 is supported by major browsers. CSS reduces presentation duty of an HTML page. Modification of looks is simple.
  • 17. Video & Audio <video> - Allows to embed a video on a web page - width, height, controls are the attributes. - Very useful feature in today's web scenario. - <source>,<track> are the tags which can be used along with <video>. <audio> - Allows to embed a audio on a web page. - Text displayed between <audio> and </audio> will be shown as an error if browser does not support audio. - autoplay, controls, src, loop, preload ares some of its attributes.
  • 18. 2D/3D Support <canvas> - The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). - The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics. - Height and Width are the attributes. - HTML5 has a built-in object for the canvas element, the getContext("2d") object. - Canvas object has API which includes methods for creating, formatting various shapes and figures. - API also includes methods for image and text manipulation as well as transformation.
  • 19. Web Storage HTML5, web pages can store data locally within the user's browser. Web Storage in HTML5 can be viewed as improvement over cookies. Provides 5-10 MB storage space compared to 4 KB in cookies. Web Storage is more secure and faster than cookies. Data is stored in key/value pairs, and a web page can only access data stored by itself. Web server can not access web storage data directly. Store large amounts of data, without affecting the website's performance. Two new objects for storing data on the client: (a) localStorage - stores data with no expiration date (b) sessionStorage - stores data for one session
  • 20. localStorage and sessionStorage 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. localStorage.setItem('myKey', 'myValue'); var myVar = localStorage.getItem('myKey'); 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. sessionStorage.setItem('myKey', 'myValue'); var myVar = sessionStorage.getItem('myKey');
  • 21. Application Cache When web application is cached, it can accessible without an internet connection. Application cache gives an application three advantages: (1) Offline browsing - users can use the application when they're offline. (2) Speed - cached resources load faster. (3) Reduced server load - the browser will only download updated/changed resources from the server. To enable application cache, include the manifest attribute in the document's <html> tag: <!DOCTYPE HTML> <html manifest="demo.appcache"> ... </html>
  • 22. Manifest Attribute Page with the manifest attribute specified will be cached when the user visits it. Recommended file extension for manifest files is: ".appcache" 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: (a) CACHE MANIFEST - Files listed under this header will be cached after they are downloaded for the first time (b) NETWORK - Files listed under this header require a connection to the server, and will never be cached (c) FALLBACK - Files listed under this header specifies fallback pages if a page is inaccessible
  • 23. Geo-location HTML5 Geo-location API is used to get the geographical position of a web site user. getCurrentPosition() method to get the user's position. If the getCurrentPosition() method is successful, it returns a coordinates object to the function specified in the parameter(showPosition) showPosition() function gets the displays the Latitude and Longitude. watchPosition() - Returns the current position of the user and continues to return updated position as the user moves. Since this can compromise user privacy, the position is not available unless the user approves it.
  • 24. Web Worker What is a Web Worker? -When executing scripts in an HTML page, the page becomes unresponsive until the script is finished. -For concurrent execution of the browser threads and one or more JavaScript threads running in the background. Supposed to run without affecting the performance of the web page. Communication between page & worker is done via message passing. Steps for creating a web worker. (1) Create a Web Worker file. This is a JavaScript file which is used by web worker object. (2) Create a Web Worker Object. Worker w=new Worker("demo_workers.js"); (3) Terminate Web Worker Object. w.close();
  • 25. Drag & Drop Drag and drop is a very common feature. In HTML5 any element is draggable . To make an element draggable, set the draggable attribute to true < img draggable=”true”/> What to drag? -ondragstart attribute calls a function, drag(event) which has a method dataTransfer.setData() method sets the data type and the value of the dragged data. Where to drag? -ondragover event tells about where to drop dragged element. -To prevent default drop handling we use event.preventDefault() method. Do the drop: When the dragged data is dropped, a drop event occurs. drop(event) function we implement things which will occur on release of drag operation.
  • 26. Inline SVG SVG stands for Scalable Vector Graphics used to define vector- based graphics for the Web. SVG graphics do NOT lose any quality if they are zoomed or resized. SVG is a W3C recommendation. SVG images can be searched, indexed, scripted, and compressed. SVG images are scalable. <html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190"> <polygon points="100,10 40,180 190,60 10,60 160,180" style="fill:lime;stroke:purple;stroke-width:5;fill- rule:evenodd;" /> </svg> </body> <html>
  • 27. Browser Compatibility All major browser support HTML5. Though no browser fully supports HTML5, most of the browsers keep releasing their new version to support various new features of HTML5. Following Browsers supports HTML5. We can check how much our browser supports HTML5 by visiting to following link through our browser. http://www.html5test.com
  • 28.
  • 29. Operating Systems Compatibility HTML5 is supported by many computer Operating Systems like Windows,Mac etc. HTML 5 is also supported by many mobile and tablet OS like iOS, Blackberry Tablet OS, Windows Mobile etc.
  • 30. Applications Most powerful aspect of HTML5 is the HTML5 canvas. HTML5 Canvas is used extensively for graphical web applications. E.g. Sketchpad Music visualization. Business friendly applications like to make graph, charts etc. Game development. Mobile Web Application development.
  • 31. Future HTML5 and CSS3 are clearly the future of the web HTML5 as an alternative to Flash. HTML5 Multimedia is currently the only way to deliver web-based video content on iOS devices. HTML5’s dynamic nature will provide broader cross platform compatibility benefits. Online Game development. Future OS using HTML5 already in their native applications. HTML5 Local Storage allows to store data in your browser and make that data available when you return.
  • 32. Conclusion HTML5 is still a work in progress Only a handful of major brands, including Mozilla Firefox and Google Chrome currently support HTML5 elements. Microsoft’s Internet Explorer is the most widely used browser and currently has the least amount of support for HTML5. To redesign or not to redesign web-sites. HTML5 will replace the majority of native apps over the next 3 to 5 years. HTML5 allows online software and content to be much more interactive and richer. HTML5 provides powerful browser-based applications.