Why is this important?
Older HTML tags and attributes that have been superseded by other more functional or flexible alternatives (whether in HTML or CSS ). Such superseded are declared as deprecated in HTML by the W3C - the consortium that sets the HTML standards. Browsers should continue to support deprecated tags and attributes, but eventually these tags are likely to become obsolete and so future support cannot be guaranteed.
How can I resolve this issue?
Replace the deprecated tag with a valid HTML tag.
What topics do this checkpoint affect?
- Accessibility (WCAG 2 Level A, 4.1.1)
- Usability
Can you explain how this checkpoint works?
List of deprecated elements
DQM will flag any of the following deprecated tags as errors in your website code:
- APPLET
- BASEFONT
- CENTER
- DIR
- FONT
- ISINDEX
- MENU
- STRIKE
- U
List of deprecated attributes
DQM will flag any of the following deprecated attributes as errors in they are contained in the tags specified.
Tag |
Attribute |
BODY |
alink, background, bgcolor, link, text, vlink |
BR |
clear |
CAPTION |
align |
DIV |
align |
DL |
compact |
HTML |
version |
IFRAME |
align |
IMG |
align, border, hspace, vspace |
INPUT |
align |
H1 |
align |
H2 |
align |
H3 |
align |
H4 |
align |
H5 |
align |
H6 |
align |
HR |
align, noshade, size, width |
LEGEND |
align |
LI |
type, value |
OBJECT |
align, border, hspace, vspace |
OL |
compact |
P |
align |
PRE |
width |
SCRIPT |
language |
TABLE |
align, bgcolor |
TD |
bgcolor, height, nowrap, width |
TH |
bgcolor, height, nowrap, width |
TR |
bgcolor |
U |
align |
UL |
compact, type |
References