Deprecated Elements (to avoid using)

The following elements listed are all deprecated, meaning that they have been removed in later revisions of standards. Their use should now be avoided, but in most cases these elements are still well supported. Note that plaintext and xmp, were removed between HTML3.2 and HTML4 and are classed as ‘obsolete’ (they do not show as ‘deprecated in HTML4.01’, they are simply not shown).

  • applet
    inserts a Java applet (mini application) into the document
  • basefont
    sets a basic font size for normal browser text
  • center
    centers all the enclosed content
  • dir
    used to define a multicolumn directory listing
  • font
    the (out-of-favor) font styling element
  • isindex
    indicates that the document has an associated keyword index that can be searched
  • menu
    used to define a list of menu choices
  • plaintext
    tells browser to treat all following text as plain text
  • s
    renders text with a horizontal strike (line) through the middle
  • strike
    renders text with a horizontal strike (line) through the middle
  • u
    underlines enclosed text
  • xmp
    example text

Learn HTML5 Online

Get all SitePoint books and courses with a Learnable membership. Start building future-proof websites that are faster, more powerful, and easier to maintain.

No Reader comments

Comments on this post are closed.