185 html5
185 html5
Overview
What is HTML5
History of HTML
Difference of HTML5 with HTML4 and
XHTML
New features in HTML5
Web applications currently using HTML5
What is HTML5
http://seminarcollections.com
Difference with HTML4
HTML5 introduces new elements and its attributes like
<audio> ,<video>. The above attributes are common to
all the media elements
The new content model concepts (replacing HTML4's
block and inline concepts)
HTML 5 allows MathML and SVG elements to be
inside a document
New elements are introduced for a better structure. For
eg: section,article,aside,Hggroup etc
http://seminarcollections.com
Difference with HTML4
Other new elements in HTML5 are
video,audio,embed,mark,progress,meter,time,ruby,rt,rp,canv
as,command,details,datalist etc
There are several new global attributes. They are
contentedittable, contextmenu, draggable, hidden, spell
check etc
Some elements are missing for HTML5,they are
big,center,font,u,s,strike etc. These effects can be
better handled by CSS
frames, frameset, noframes etc. Their usage affected
usability and accessibility for the end user in a
negative way
acronym, applet, isindex, dir. Their usage creates
confusion. So they avoided
http://seminarcollections.com
Difference with HTML4
Some attributes are not allowed in HTML5:-Most of the
styling attributes are removed from the HTML5. User can
use CSS for that purpose. Examples of removed attributes
are given below.
align attribute on caption, iframe, img, input, object, legend, table,
hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th,
thead and tr
background attribute on body.
Bgcolor attribute on table, tr, td, th and body.
Border attribute on table and object.
Cellpadding and cellspacing attributes on table
New features in HTML5
API's for multimedia by using video and audio tags
API that allow offline web applications
Drag and drop API
API that exposes the history and allows pages to add to it to
prevent breaking the back button
An API that allows a Web application to register itself for certain
protocols or media types
Editing API in combination with a new global contenteditable
attribute
HTML Microdata
HTML canvas 2D context
HTML5 web messaging
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
Reference
Will HTML 5 Restandardize the Web? By steven j
Nicholas
http://dev.w3.org/html5/spec/Overview.html#introducti
on
http://www.w3.org/TR/html5/video.html#audio
http://dev.w3.org/html5/html4-differences/
http://www.whatwg.org/specs/web-apps/current-
work/#dnd
http://dev.w3.org/html5/postmsg/#introduction-0
http://blog.whatwg.org/the-road-to-html-5-
contenteditable