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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access