Fixing deprecated XHTML elements

The main difference between transitional and strict XHTML is that the former supports deprecated elements while the latter does not. Deprecated elements are those that will not be supported in future versions of the language. For maximum compatibility in the future, it only makes sense to avoid using these deprecated tags. You can find an sample video that explains how to use this aggiorning and detailed examples below.

Replace CENTER tag by inline CSS

The deprecated CENTER tag can be replaced with the appropriate CSS in different situations.

Replace FONT tag by inline CSS

The deprecated FONT tag can be used in different contexts to define font type, color, and weight. Due to its both ubiquitous and changing nature, this tag can be individually switched on and off.

Update other deprecated tags

Style-geared tags (e.g. font) will be replaced by inline CSS. Others, when possible, will be replaced by compatible XHMTL alternatives.

Update deprecated attributes

Style-geared attributes (such as bgcolor) will be replaced by inline CSS. Others, when possible, will be replaced by compatible XHTML alternatives