1. Technology

Deprecated HTML Tags

HTML Tags You Should Avoid

By

Deprecated HTML tags are HTML tags that are or will soon be removed from the HTML specification. It is recommended that you not use these HTML tags because they may become obsolete.

Deprecated HTML Elements in HTML 4.01 and XHTML 1.0

Deprecated HTML Attributes in HTML 4.01 and XHTML 1.0

  • alink
    The alink attribute defines the color of an active link on the web page. It has been deprecated in favor of the color style property assigned to the :active pseudo-class.
  • align
    Used to align elements vertically and horizontally on the document page, the align attribute has been deprecated in favor of the float CSS style property.
  • background
    The background attribute is used to define a background image for the element. It has been deprecated in favor of the background-image style property.
  • border
    Used to define a border around the element, the border attribute has been deprecated in favor of the border style property.
  • color
    Used to define the color of the enclosed text, the color attribute has been deprecated in favor of the color property.
  • compact
    The compact attribute is used in list tags to create a list that takes up less space. It has been deprecated in favor of the list-style property.
  • face
    Used to define the font face of the enclosed text, the face attribute has been deprecated in favor of the font-family CSS style property.
  • height
    Used to define the height of the element, the height attribute has been deprecated in favor of the height CSS property.
  • language
    The language attribute is used to define the language used by the script element. It has been deprecated in favor of the type attribute.
  • link
    The link attribute defines the color of a link on the Web page. It has been deprecated in favor of the color style property assigned to the :link pseudo-class.
  • name
    The name attribute names the element for use with dynamic content, it has been deprecated in favor of the id attribute.
  • noshade
    The noshade attribute removes the 3-D effect from horizontal rules. It has been deprecated in favor of style sheets.
  • nowrap
    Used to stop table contents from wrapping, the nowrap attribute has been deprecated in favor of the white-space style property.
  • size
    Used to define the size of the enclosed text, the size attribute has been deprecated in favor of font-size CSS property.
  • start
    The start attribute of list tags defines the starting number of the list. This attribute has been deprecated in favor of the list-style-type property.
  • text
    The text attribute defines the color of the text on the Web page. It has been deprecated in favor of the color style property.
  • type
    The type attribute of list tags defines what type of list should be used. This attribute has been deprecated in favor of the list-style-type property.
  • value
    The value attribute of list tags sets the value of the list item. This attribute has been deprecated in favor of the list-style CSS property.
  • version
    The version attribute defines the version of HTML used by the document. It has been deprecated in favor of defining the DOCTYPE.
  • vlink
    The vlink attribute defines the color of a visited link on the Web page. It has been deprecated in favor of color style property assigned to the :visited pseudo-class.
  • width
    The width attribute defines the width in pixels of the element. It has been deprecated in favor of the width property.

Return to XHTML Element (HTML Tags) Library

Get Current with HTML
  1. About.com
  2. Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. Deprecated HTML Tags in XHTML 1.0 and HTML 4.0

©2014 About.com. All rights reserved.