+ All Categories

Html 5

Date post: 30-Oct-2014
Category:
Upload: niranjan-kumar
View: 370 times
Download: 0 times
Share this document with a friend
Description:
 
Popular Tags:
21
Converting business ideas to reality...
Transcript
Page 1: Html 5

Converting business ideas to reality...

Page 2: Html 5

Welcome to a

short session on

Page 3: Html 5

©Teamdecode 2011 3

Topics Covered:-

•What is HTML5?•HTML 5 Goals•20 Most used Div ids prior to HTML5.•Lets talk HTML 5•HTML 5 Tags•Pictorial representation of HTML 4 and HTML 5•HTML5 vs Flash•Browser Compatibility•Html 5 Resources

Page 4: Html 5

4

What is HTML5?

©Teamdecode 2011

HTML5 is the new standard for HTML, XHTML, and the HTML with a lot of new functionalities and tags.

The HTML5 working group includes AOL, Apple, Google, IBM, Microsoft, Mozilla, Nokia, Opera, and many hundreds of other vendors.

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

Page 5: Html 5

HTML 5 Goals• Latest version is HTML5– Aimed to have all of the power of native applications– Run on any platform (Windows, Linux, iPhone,

Android, Mac, etc.)• New features should be based on HTML, CSS,

DOM and JavaScript• Reduce the need for external plugins• Better error handling• More markup to replace scripting• HTML5 should be device independent

5

Page 6: Html 5

©Teamdecode 2011 6

20 Most used DIV ids:-

Page 7: Html 5

©Teamdecode 2011 7

Lets talk HTML5• New HTML Tags

• Audio and Video

• Vector Graphics

• Native support to Geolocation API , Drag and Drop, device orientation, Speech Input

• Offline data storage

• Validation

• Input Element

Page 8: Html 5

©Teamdecode 2011 8

Basic Html 4 Structure

Page 9: Html 5

©Teamdecode 2011 9

Better Layout Structure: New Structural Elements

<section> <header> <nav> <article> <aside> <footer>

Page 10: Html 5

<header>

<nav>

<article>

<aside>

<footer>

Page 11: Html 5

<time>

<figure>

<legend>

<meter>

Page 12: Html 5

<section>Heading1 <h1>

Heading 2 <h1>

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit

Heading 3 <h1>

Page 13: Html 5

©Teamdecode 2011 13

HTML 5 tags in a wesbsite

Page 14: Html 5

14

HTML 5 Tags

©Teamdecode 2011

•Doctype:-−HTML 4:- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">−HTML 5:- <!DOCTYPE html>

•Meta tag:-−HTML 4:- <meta http-equiv="Content-Type" content="text/html; charset=utf-8”>−HTML 5:- <meta charset="utf-8">

Page 15: Html 5

15

HTML 5 Tags contd...

©Teamdecode 2011

•Input Elements:- <input type="date" name="birthday” autocomplete="off" /> <input type="email" name="usermail" /> <input type="number" name="quantity" min="1" max="5" /> <input type="url" name="homepage" /> <input type="range" name="points" min="1" max="10" /

Progress:- <progress value="22" max="100"></progress>

Page 16: Html 5

16

HTML 5 Tags contd...

©Teamdecode 2011

•Video:- <video width="320" height="240" controls="controls"> <source src="movie.mp4" type="video/mp4" /> </video>

•Audio:- <audio controls="controls”> <source src="song.mp3" type="audio/mpeg" /> </audio>

NOTE:-More Tags in action can be seen at:- http://www.w3schools.com/html5/default.asp

Page 17: Html 5

17©Teamdecode 2011

HTM5 vs Flash

Is HTML5 is going to replace flash??Flash is rejected by Apple for their iOS devices.HTML5 Canvas element(<canvas>Code goes here </canvas>)Hardware acceleration.

So, who wins?

Page 18: Html 5

18

Browser Compatibility

©Teamdecode 2011

**Internet Explorer 9 has partial support of HTML 5.

Page 19: Html 5

HTML 5 – Showcases and Resources• HTML 5 Rocks – Examples, Demos, Tutorials– http://www.html5rocks.com/

• Great HTML 5 Slide– http://slides.html5rocks.com/

• Internet Explorer 9 Test Drive for HTML 5– http://ie.microsoft.com/testdrive/

• See Geolocation in action– http://html5doctor.com/finding-your-position-with-ge

olocation/

To know more about HTML tags:-– http://www.w3schools.com/html5/default.asp

19

Page 20: Html 5

Thank you

Page 21: Html 5

©Teamdecode 2011 21

?

?

?

?

?

???

?

??

Questions??

?


Recommended