Elements and attributes that have been deprecated in the most recent version of XHTML 1.0
The following elements and attributes have been deprecated in favor of using CSS.
Elements
- The applet element <applet></applet> in favor of <object></object>
- The basefont element <basefont/>
- The center element <center></center>
- The dir element <dir></dir>
- The embed element <embed></embed/> in favor of <object></object>
- The font element <font></font>
- The i (italic) element <i></i>
- The layer element <layer></layer>
- The menu element <menu></menu>
- The noembed element <noembed></noembed>
- The shadow element <shadow></shadow>
- The strike element <strike></strike>
- The underline element <u></u>
Attributes
- alink
The alink attribute defines the color of an active link on the Web page. - vlink
The vlink attribute defines the color of a visited link. - link
The link attribute defines the color of a link on the Web page. - align
Used to align elements vertically and horizontally on the document page. - background
The background attribute is used to define a background color or image for an element. - border
Used to define a border around an element. - color
Used to define the color of the enclosed text. - face
Used to define the font face of the enclosed text. - size
Used to define the size of the enclosed text. - width
The width attribute defines the width in pixels of an element. - height
Used to define the height of an element. - 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. - 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. - nowrap
Used to stop table contents from wrapping. - type
The type attribute of list tags defines what type of list should be used. - compact
The compact attribute is used in list tags to create a list that takes up less space. - version
The version attribute defines the version of HTML used by the document. It has been deprecated in favor of DTDs.