Deprecated tags and attributes are parts of the HTML standard which use is no longer recommended. This happens because the standard is updated from time to time (e.g., from version 3.0 to 4.0) and some tags or characteristics of the language are added, removed or deprecated. Because of this, HTML authors are provided with more tools when a new element or attribute is added, and they are also recommended to discard those than have been replaced or become useless. The decision to use deprecated tags and/or attributes or not, is left to each author's consideration.
To preserve compatibily, in favor of their customers' satisfaction, many browser vendors provide support to deprecated elements. But this may not be true forever. The general recommendation is to try other ways to achieve their effects whenever possible.
The following lists, show all deprecated elements for the HTML 4.01 and XHTML 1.0 standards.
Elements deprecated in favor of other elements:
Elements deprecated in favor of Style Sheets:
There's no global list for deprecated attributes, as they vary from element to element. If you need to know which attributes are deprecated for a specific element, refer to the element's page by following its link in the HTML tags reference.
Most of these attributes are presentational and have been deprecated in favor of style sheets. This means that the effect they produce can be achieved by using "id", "style" or "class" attributes together with style sheets.
In the examples below we define two pieces of code that will be rendered exactly the same way, but using different methods.
For more information about Cascading Style Sheets, please consult our Cascading Style Sheets tutorial.
Diseño y desarrollo: Latitud29.com