Home > HTML5, Web > Deprecated Elements for HTML5

Deprecated Elements for HTML5

HTML5 wins out over XHTML2 because it’s designed to be backwards compatible with HTML4. In HTML5, these deprecated elements are not to be used by authors, while implementers (user agents, browsers) must still provide support for these elements. Do not use these tags:

Bad because they are presentational tags:

  • basefont
  • big
  • center
  • font
  • s
  • strike
  • tt
  • u

Tags with accessibility concerns:

  • frame
  • frameset
  • noframes

Tags with low usage:

  • acronym
  • applet
  • isindex
  • dir

Tag attributes that are removed:

  • a, link : rev, charset
  • img : longdesc, name
  • html : version
  • th : abbr
  • td : scope
  • all block level : align
  • body : background
  • img : hspace, vspace
  • table, tr, th, td : bgcolor
  • table : border, cell padding, cell spacing, valign
  • td, th : height, width

A note on div tags

  • The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to markup semantics common to a group of consecutive elements. Authors are strongly encouraged to view the div element as an element of last resort, for when no other element is suitable. use of the div element instead of more appropriate elements leads to poor accessibility for readers and poor maintainability for authors.
Categories: HTML5, Web Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: