The following elements are not actually deprecated. If something is deprecated it means that it has, at some point, been defined in a standard but was removed from a later version of the standard. However, none of the elements below have ever been defined by any standards, but were rather added on as ‘features’ by browser vendors. Some never caught on (wbr, nobr), while others are very well supported to this day across a wide range of browsers (embed, marquee). Regardless of their level of support, their use is discouraged, wherever practically possible, in favor of using elements that are part of a W3C-approved standard.

  • bgsound
    Plays a background sound on page load
  • blink
    blinks text on-off
  • comment
    inserts a comment into markup
  • embed
    provides a generic (non-standard) container for a media object
  • marquee
    scrolling text area
  • nobr
    tells browser not to break/wrap contained text
  • noembed
    specifies alternative content for browsers that don’t support embed
  • plaintext
    tells browser to treat all following text as plain text
  • wbr
    suggests where in a word a break should occur

Free Guide:

How to Choose the Right Charting Library for Your Application

How do you make sure that the charting library you choose has everything you need? Sign up to receive this detailed guide from FusionCharts, which explores all the factors you need to consider before making the decision.


No Reader comments

Learn JavaScript for free!
Free course: Introduction to JavaScript

Yours when you take up a free 14-day SitePoint Premium trial.