Html5
Upcoming SlideShare
Loading in...5
×
 

Html5

on

  • 2,429 views

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

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

Statistics

Views

Total Views
2,429
Views on SlideShare
2,429
Embed Views
0

Actions

Likes
1
Downloads
48
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Html5 Html5 Presentation Transcript

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