Deprecated Elements
As I stated earlier, style sheets obviate the need for a number of tags that were commonly used for basic formatting tasks. Those tags are now deprecated, but they will continue to be supported in browsers for generations to come. Obviously, any attributes associated with these elements are also deprecated, but not necessarily in all other active elements. Table 7.2 shows all the elements that are deprecated in the HTML 4.0 specification.
Table 7-2. Deprecated Elements in HTML 4.0
Element |
Supplanted By |
---|---|
APPLET |
The |
BASEFONT |
Style sheet font attributes |
CENTER |
|
DIR |
The |
FONT |
Style sheet font attributes |
ISINDEX |
|
MENU |
The |
S |
The style sheet |
STRIKE |
The style sheet |
U |
The style sheet |
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.