html5 introduction

16
Introduction of

Upload: sagaroceanic11

Post on 10-May-2015

514 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Html5 introduction

Introduction of

Page 2: Html5 introduction

Overview

What is HTML5 History of HTML5 New features in HTML5 Difference of HTML5 with HTML4 Web applications currently using HTML5

Page 3: Html5 introduction

What is

HTML 5 is the next version of Hyper Text Markup Language(HTML4)

It is developing by World Wide Web consortium W3C.

Defined error handling

Page 4: Html5 introduction

History of HTML5

• HTML 3.0 was developed in 1995

• HTML 3.2 was completed by 1997

• HTML 4 was developed in the year 1998

• HTML5 was first started by Mozilla, Apple, and Opera under a group called the WHATWG(Web Hypertext Application Technology Working Group). In 2006 W3C showed an interest in HTML5 and in 2007 they created a working group to work in HTML5 project. HTML5 is still under development.

Page 5: Html5 introduction

New features in HTML5

Video and audio tags Header and Footer Nav, Section, article, aside, Drag and drop HTML canvas 2D context Article and aside HTML5 web messaging

Page 6: Html5 introduction

Video and Audio• HTML5 include video with

video element

• HTML5 specifies a standard way to include audio, with the audio element.

• The audio element can play sound files, or an audio

stream.• Adding native support to

browsers

Page 7: Html5 introduction

Audio+Video=magic

<video src="movie.ogg" controls="controls"></video> <audio src=" song.ogg " controls="controls"></audio>

Page 8: Html5 introduction

Video and Audio Implementations

Native video support in browsers

1. Opera

2. Safari 3.1

3. Firefox 3.1

Page 9: Html5 introduction

Header and Footer

<header> </header>

<foooter>www.google.com</footer>

Page 10: Html5 introduction

Canvas

• Dynamic and interactive graphics• Draw images using 2D drawing API

– Lines, curves, shapes, fills, etc.• Useful for:Graphs Applications Games and Puzzles.

Page 11: Html5 introduction

Canvas Examples: Games

Canvexhttp://canvex.lazyilluminati.com/

Experimental First-Person

Shooter Game 3D Graphics

Page 12: Html5 introduction

Form Controls: Numbers

<input type="number"><input type="range">

Supports(safari3.0.3,Opera)

Page 13: Html5 introduction

Form Controls: Combo Boxes

<input list="title-list"><datalist id="title-list"> <option value="..."></datalist>

Supports(Opera))

Page 14: Html5 introduction

Difference between HTML4 and HTML5

HTML4 HTML5

Elements like nav, header were not present.

It brought new element for web structure like nav, header etc

It was lack of rules of parsing so it is difficult to handle error.

Strictly parsing rules introduced in html5 so handle the error.

No multimedia supported without third party

It inbuilt multimedia element in html5 like Audio,video,canvas

It was not available It contains attributes like control menu, spell check etc.

Page 15: Html5 introduction

Web sites that using HTML5

YouTube uses HTML5, www.youtube.com/html5

Google wave, a collaboration tool from Google uses several html5 tags

Only some of the browser only supports HTML5 features currently

Page 16: Html5 introduction