Top Banner
By Mohd. Shoaib
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Html5

By Mohd. Shoaib

Page 2: Html5

Agenda• Introduction• History• Features• New API’s in HTML5• Limitations

Page 3: Html5

IntroductionTo give authors more flexibility

and interoperability, and enable more interactive and exciting websites HTML5, introduces wide range of features.

These feature includes form controls, API’s, multimedia, structure and semantics.

HTML5 was introduced by W3C.Including browser vendors such as Apple, Mozilla, Opera, and Microsoft.

Page 4: Html5

HistoryHTML 3.0 was developed in 1995.HTML 3.2 was developed in 1997.HTML 4 was developed in 1998.After developing HTML4, W3C

stopped working on HTML, and started working

on XML.HTML5 was first started by Mozilla,

Apple, and Opera, later in 2006 W3C showed interest on html5 and created group for working on HTML5 project

Page 5: Html5

Features

Page 6: Html5

HTML5 Structure

Fig- HTML5 document structure.

Page 7: Html5

Continue…There are some new features in

HTML5.Header

header represents header of the section.

Header element contains introductory information to a section or page.

It can involve anything from our normal document headers to an entire table of contents.

Page 8: Html5

Continue…<header> <h1>A Preview of HTML 5</h1> <p class="byline">By Lachlan Hunt</p> </header> <header> <h1>Example Blog</h1> <h2>Insert tag line here.</h2> </header>

Page 9: Html5

<Footer> A footer typically contains

information about its section such as who wrote it, links related to documents.

For Example.<footer>© 2007 Example Inc.

</footer>. <nav>The nav element represents

section of navigation links.

Page 10: Html5

Continue…The nav element is reserved for a section of document that contains links to other pages or links to the section of the same page.For e.g. Table of contents.<nav> <ul> <li><a href="/">Home</a></li> <li><a href="/products">Products</a></li> <li><a href="/services">Services</a></li> <li><a href="/about">About</a></li> </ul> <nav>

Page 11: Html5

<Aside>Aside represents contents related

to the main area of the document.This usually expressed in side

bars that contain related posts, tag clouds etc.

<h1>Archives</h1>

<ul>

<li><a href="/2007/09/">September 2007</a></li>

<li><a href="/2007/08/">August 2007</a></li>

<li><a href="/2007/07/">July 2007</a></li>

Page 12: Html5

<Section>Section element represents a

generic section of or application such as a chapter.

It act as a same way as <div> does in separating portion of document.

<article>Article element is independent

section of document .It is suitable for content like news

or blog.

Page 13: Html5

Some other Features…HTML5 introduces new elements

and its attributes like <audio> and <video>.

Video element used for video files.

Some attributes are not allowed in HTML5. Most of the styling attributes are removed from HTML5.

Such as align attribute on caption, iframe, img, input, object, table, hr, div, h1, h2, h3, p, etc.

Page 14: Html5

New API’s in HTML5API’s for multimedia using video

and audio tag user can embed different video and audio formats in the web page. API’s that allow offline web

applications HTML5 allows several features in which web applications can work locally, that is without internet connection.Drag and drop API’s html5 allows drag and drop feature with the help of draggtable attribute

Page 15: Html5

Continue… HTML Microdata. User can embed machine readable data into HTML document.HTML canvas 2D context. This API used for rendering 2D graphics, bitmaps and shapes. This technology introduced by Apple.

Page 16: Html5

Geolocation.

Page 17: Html5

GeolocationThis API include location

information such as GPS (global positioning system)with device hosting API.

This feature supports for devises such as mobile phones, GPS receivers etc.

Page 18: Html5

Limitations of HTML5Browsers do not provide full support

for HTML5 Non of the web browsers for mobile or have full implementations at present.

Internet Explorer browser does not support for HTML5. Even Apple ipad safari browser doesn’t have full support for HTML5.Cross platform browser compatibility

The application developed for ipad is not guaranteed to work well in other browsers like IE.

Page 19: Html5

Continue…Audio/video support HTML5 has added new video and audio tags in a browser without plugin but doesn’t officially support any video or audio format. Development tools

There are no tools available that can create animations for html5 like flash professionals.For creating animations developers have to code animations in JavaScripts and CSS.

Page 20: Html5

Supported Browsers Firefox 4(WebM, Beta)Google ChromeOpera 10.6 and above.Apple Safari (h.264, version 4+)Microsoft internet Explorer 9

Page 21: Html5

Thank you.