A blog post from danboe.net

HTML attributes deprecated in XHTML Strict

Posted Aug 3, 2004 at 02:22 AM

This post sets out to identify HTML attributes that should no longer be used in the markup of web pages. The reasons and replacements are provided, when necessary.

  • align – deprecated, use CSS instead
  • alink – deprecated, use CSS instead
  • background – deprecated, use CSS instead
  • bgcolor – deprecated, use CSS instead
  • bgproperties – deprecated, use CSS instead
  • border – deprecated, use CSS instead
  • color – deprecated, use CSS instead
  • height – deprecated, use CSS instead, except for img tags
  • hspace – deprecated, use CSS instead
  • leftmargin – deprecated, use CSS instead
  • target – deprecated, use scripting instead
  • topmargin – deprecated, use CSS instead
  • vlink – deprecated, use CSS instead
  • vspace – deprecated, use CSS instead
  • width – deprecated, use CSS instead, except for img tags

This post is closed to new comments.

About this page

This page contains a single post from Daniel Boerner's blog, of which Boot Camp + Windows Vista = no more Airport Extreme reboots is the latest post.

Are there more posts like this one?

Possibly. Within this blog, this post is categorized under webdev and it was posted on August 3, 2004. Those would be good places to start looking for related posts.

Next post (newer)

Previous post (older)