Help:Lint errors/obsolete-tag/fr

L'erreur de balise obsolète survient lorsque des éléments HTML désuets sont utilisés.

Since it is unclear to us at this time how far we want to push this goal of HTML5 compliance, this category is marked low priority. Some wikis might choose to not address this right away. Other wikis might want to get ahead and want to be HTML5 compliant. It is possible that some wikis might write bots to address this. So, please use your judgement and wiki-specific policies to guide you in how much effort you want to spend on this. If, in the future, there is greater clarity about pursuing this more aggressively, we will reflect that by updating the severity of this linter issue appropriately.



Éléments obsolètes
Actuellement, les éléments désuets ainsi que leur alternative sont :



Principes
MediaWiki currently whitelists these elements, and they tend to be output the same way as input. This means that when browser vendors decide to remove these they will simply display as regular undecorated text. Examples of some "popular" html tags that had visual effects and have been removed from major browsers include and. A further problem is that different browser vendors may remove them independently so editors or readers may have inconsistent views of the same page, leading to confusion.

It is likely that browser vendors will give us significant notice before making any breaking changes given how prevalent these deprecated elements are used across the internet.



Indications utiles
accepts numeric font colors without the standard pound sign prefix. However, with, the pound sign before numeric font colors is mandatory:

accepts some nonstandard font color names such as burntorange and vermillion, which are not on the list of 16 HTML colors or the list of 124 X11 colors. The replacement  markup recognizes only color names on these lists.

accepts 4-digit and 5-digit hexadecimal codes, which need 00 and 0, respectively, appended in  markup. Hexadecimal codes with more than 6 digits need to be trimmed to the first 6 digits.

Outils
Les outils suivants peuvent aider pour corriger les problèmes dus aux balises obsolètes :


 * WPCleaner : se reporter aux instructions sur l'utilisation de WPCleaner pour corriger les erreurs détectées par Linter. Les problèmes dus au bug d'espace de Tidy peuvent être remontés par WPCleaner en tant qu'erreur erreur #541 du projet Correction Syntaxique.