Your SlideShare is downloading. ×
0
Html5
Html5
Html5
Html5
Html5
Html5
Html5
Html5
Html5
Html5
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Html5

1,928

Published on

Here you find the basic concepts of Html5,which supports the Android...........

Here you find the basic concepts of Html5,which supports the Android...........

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,928
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
49
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. Why HTML5? <ul><li>HTML 5 will enable better cross-browser compatibility and better support for ‘Web 2.0-style’ Web applications. Provides Rich Text formatting </li></ul><ul><li>HTML5 will have an application cache that is capable of storing all resources in your Web app so that the browser can load them and use them even when you’re offline </li></ul><ul><li>HTML5 enables mobile and desktop Web site designers to deliver the advantages of client-side and server-side development to their users simultaneously. </li></ul><ul><li>New tags for semantic layout, incorporating rich media, APIs,applications.. </li></ul>
  2. <ul><li>Canvas </li></ul><ul><li>contentEditable </li></ul><ul><li>getElementByClassName </li></ul><ul><li>Offline storage </li></ul><ul><li>Video and audio </li></ul><ul><li>Web forms 2.0 </li></ul>Features of HTML 5
  3. Attributes <ul><li>DesignMode - entire document </li></ul><ul><li>contentEditable - element </li></ul><ul><li>Inserting images </li></ul><ul><li>Three arguments </li></ul><ul><li>Five arguments </li></ul><ul><li>Nine arguments </li></ul><ul><li>context.drawImage( img_elem , sx , sy , sw , sh , dx , dy , dw , dh ); </li></ul>
  4. New Tags <ul><li>article </li></ul><ul><li>aside </li></ul><ul><li>audio </li></ul><ul><li>canvas </li></ul><ul><li>command </li></ul><ul><li>datagrid </li></ul><ul><li>datalist </li></ul><ul><li>datatemplate </li></ul><ul><li>embed </li></ul><ul><li>event-source </li></ul><ul><li>figure </li></ul><ul><li>footer </li></ul><ul><li>header </li></ul><ul><li>mark </li></ul><ul><li>meter </li></ul><ul><li>nav </li></ul><ul><li>nest </li></ul><ul><li>output </li></ul><ul><li>progress </li></ul><ul><li>source </li></ul><ul><li>time </li></ul><ul><li>video </li></ul>
  5. <ul><li>xHTML: </li></ul><ul><li><!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot; http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd &quot;> </li></ul>Structure of xHTML
  6. HTML5 - basic document structure <ul><li><!DOCTYPE HTML> </li></ul><ul><li><html lang=&quot;en&quot;> </li></ul><ul><li><head> </li></ul><ul><li><meta charset=&quot;UTF-8&quot;> </li></ul><ul><li><title>HTML5</title> </li></ul><ul><li></head> </li></ul><ul><li><body> </li></ul><ul><li></body> </li></ul><ul><li></html> </li></ul>
  7. Layout - HTML5 <header> <nav> di <footer> <article> <aside> <section>
  8. HTML5 - IE <ul><ul><li><script type=&quot;text/javascript&quot;> </li></ul></ul><ul><ul><li>document.createelement('header'); </li></ul></ul><ul><ul><li></script> </li></ul></ul><ul><ul><li><header> </li></ul></ul><ul><ul><li>javascript must be used to force IE to style this element </li></ul></ul><ul><ul><li></header> </li></ul></ul><ul><ul><li>* Need to use javascript to force IE to recognize new HTML5 tags and apply CSS to them </li></ul></ul>
  9. <audio>,<video> and <canvas> <ul><ul><li><audio src=&quot;/tunes/boom.mp3&quot; controls=&quot;true&quot;> </li></ul></ul><ul><ul><li><a href=&quot;/tunes/boom.mp3&quot;>Listen</a> </audio> </li></ul></ul><ul><ul><li><video src=&quot;/video/ac-testimonial-web.mov&quot; controls=&quot;true&quot;> <p>your browser does not support the video tag</p> </video> </li></ul></ul><ul><ul><li><canvas id=”a_canvas” width=”400” height=”300”> </li></ul></ul><ul><ul><ul><li><p>Oops! Your browser can’t display the canvas.</p> </canvas> </li></ul></ul></ul>
  10. Problems with HTML5 <ul><li>Not backwards-compatible? </li></ul><ul><li><P> = <p> ...and... <div class=”foo”> = <DIV class=foo> </li></ul><ul><li>removal of certain tags - <acronym> </li></ul>

×