Saturday, January 5, 2013

Obsolete Elements in HTML 5 from HTML 4

For Complete JAVA tutorials and Certification in JAVA (OCJP). Click Here!!!

Some Elements and Attributes from HTML 4 are not allowed in HTML 5.Find below the list of Obsolete Elements.
  • basefont
  • big
  • center
  • font
  • strike
  • tt
  • frame
  • frameset
  • noframes
  • acronym
  • applet
  • isindex
  • dir
Find below the list of obsolete attributes.
  • rev and charset attributes on link and a.
  • shape and coords attributes on a.
  • longdesc attribute on img and iframe.
  • target attribute on link.
  • nohref attribute on area.
  • profile attribute on head.
  • version attribute on html.
  • name attribute on img (use id instead).
  • scheme attribute on meta.
  • archive, classid, codebase, codetype, declare and standby attributes on object.
  • valuetype and type attributes on param.
  • axis and abbr attributes on td and th.
  • scope attribute on td.
  • summary attribute on table.
  • alink, link, text and vlink attributes on body.
  • background attribute on body.
  • bgcolor attribute on table, tr, td, th and body.
  • border attribute on object.
  • cellpadding and cellspacing attributes on table.
  • char and charoff attributes on col, colgroup, tbody, td, tfoot, th, thead and tr.
  • clear attribute on br.
  • compact attribute on dl, menu, ol and ul.
  • frame attribute on table.
  • frameborder attribute on iframe.
  • height attribute on td and th.
  • hspace and vspace attributes on img and object.
  • marginheight and marginwidth attributes on iframe.
  • noshade attribute on hr.
  • nowrap attribute on td and th.
  • rules attribute on table.
  • scrolling attribute on iframe.
  • size attribute on hr.
  • type attribute on li, and ul.
  • valign attribute on col, colgroup, tbody, td, tfoot, th, thead and tr.
  • width attribute on hr, table, td, th, col, colgroup and pre.
  • 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.

Elements Introduced in HTML 5

Here we will talk about new Elements in HTML5. Click here for the elements that have been redesigned in HTML5 from previous version. Along with addition and re-written of some element some elements have been removed from HTML5. 
articlePiece of independent content in a Document. E.g. Blog Post. Article can be a part of another article.
asideDefines content aside from the page content. E.g. Side content on a blog for advertisement purpose
bdiUsed to define a text that is to be isolated from its surrounding for the purpose of bidirectional text formatting.
canvasUsed to render dynamically generated bitmap graphic. E.g Company Sales Growth Graph
commandUsed to defines a command that a user can invoke. It can be used along with menu or keyboard shortcuts.
detailsUsed to provide more(additional) details to user. Summary element is used along with it to provide the summary.
embedUsed to integrate external application or interactive content. E.g Including .swf or .doc
figureSpecifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
figcaptionDefines a caption for a element
footerDefines a footer for a document or section
headerUsed to provide heading of the section.
Used to provide date and tim