Deprecated Tags and Attrubutes in HTML

Start to avoid the name attribute whenever possible and use id. If you must use a name attribute, add and id attribute to ensure the tag will behave similarly in XHTML. Below is a list of some deprecated HTML features. Check here and here for a complete list of deprecated tags and attributes.

Tags: Attributes:
<applet>
<basefont>
<center>
<dir>
<font>
<isindex>
<menu>
<s>
<strike>
<u>
align
alink
alt
archive
background
bgcolor
border
clear
code
codebase
color
compact
face
height
hspace
language
link
name
noshade
nowrap
object
prompt
size
start
text
type
value
version
vlink
vspace
width


(with applet only)
(with applet only)


(with ing, object)
(br)
(with applet)

(basefont, font)
(dir, dl, ol, etc.)
(basefont, font)
(td, th, applet)
(applet, img, object)
(script)

(applet & others - use id)
(hr)
(td, th)
(applet)
(isindex)
(hr, font, basefont)
(ol)

(li, ol, ul)
(li)
(html)

(applet, img, object)
(hr, td, th, applet, pre)