• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Html5
 

Html5

on

  • 334 views

 

Statistics

Views

Total Views
334
Views on SlideShare
334
Embed Views
0

Actions

Likes
0
Downloads
26
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    • HTML5Everything that makes the web sing. Shaify Mehtahttp://www.shaify.com
    • AgendaAgenda • Introduction to HTML5. • New Elements . • New Features. • Browser Supports. • Tutorials. • Live demos.
    • Who am I?Who Am I ? Who am I?
    • Who am I?Who Am I ? HTML5* Web Development to the next level *Including other next generation technologies of the Web Development stack
    • Rough Timeline Of Web Technologies 1991 HTML 1994  HTML 2 Who Am I ? 1996  CSS 1 + JavaScript 1997  HTML 4 1998  CSS 2 2000  XHTML 1 2002  Tableless Web Design 2005  AJAX 2009  HTML 5
    • HTML5Who Am I ? HTML5 ~= HTML + CSS + JS
    • HTML5 Continued….HTML5
    • New Features We intend to develop a service which is a blend of all above said services. This is saves the hassles of maintaining different user accounts for different services. Our website will be comprising of 1. Photo Sharing 2. Video Sharing 3. Document Sharing New Feautures
    • Canvas Element • The HTML5 canvas element uses JavaScript to draw graphics on a web page. • A canvas is a rectangular area, and you control every pixel of it. <canvas id=“my Canvas” width=“200” height=“100” > </canvas>CanvasElement
    • Canvas Element Continued….CanvasElement
    • Audio & Video Audio& Video
    • Audio & Video Continued….. • Today, most audio & videos are played through a plugin Audio& Video (like flash). However, not all browsers have the same plugins. • HTML5 specifies a standard way to include these, with the audio & video elements. • <audio src="song.ogg“ controls="controls“ > </audio> • <video src="movie.ogg“ controls="controls"> </video>
    • Attributes : video Audio& Video
    • Browser supportsBrowser Video :Supports •Ogg = Ogg files with Theora video codec and Vorbis audio codec •MPEG4 = MPEG 4 files with H.264 video codec and AAC audio codec •WebM = WebM files with VP8 video codec and Vorbis audio codec Audio :
    • New Elements NewElements
    • New Input Types • Email • Url • NumberNew Input • Range Types • Date pickers (date, month, week, time, datetime, datetime-local) • Search • Color
    • Elements • <input type="email" name="user_email" /> • <input type="url" name="user_url" />Elements • <input type="number" name="points" min="1" max="10" /> • <input type="range" name="points" min="1“ max="10" /> • <input type="date" name="user_date" /> • <input type="color" name="user_color" />
    • Web Storage WebStorage
    • Web Storage • HTML5 offers two new objects for storing data on the client: • LocalStorage - stores data with no time limit • SessionStorage - stores data for one session WebStorage • Earlier, this was done with cookies. Cookies are not suitable for large amounts of data, because they are passed on by EVERY request to the server, making it very slow and in-effective. • HTML5 uses JavaScript to store and access the data.
    • Web Storage Continued…. LocalStorage : • <script type="text/javascript"> localStorage.lastname="Smith"; document.write(localStorage.lastname); </script> WebStorage SessionStorage: • <script type="text/javascript"> sessionStorage.lastname="Smith"; document.write(sessionStorage.lastname); </script>
    • HTML5 Support HTML5 Support
    • Web Workers WebWorkers
    • Web Workers WebWorkers