2023-05-03 11:06:20 +02:00
== Why is this an issue?
2021-06-08 14:23:48 +02:00
With the advent of HTML5, many old elements were deprecated. To ensure the best user experience, deprecated elements should not be used. This rule checks for the following deprecated elements:
||Element||Remediation Action||
|``++basefont++``, ``++big++``, ``++blink++``, ``++center++``, ``++font++``, ``++marquee++``, ``++multicol++``, ``++nobr++``, ``++spacer++``, ``++tt++``|use CSS|
|``++acronym++``|use ``++abbr++``|
|``++applet++``|use ``++embed++`` or ``++object++``|
|``++bgsound++``|use ``++audio++``|
|``++frame++``, ``++frameset++``, ``++noframes++``|restructure the page to remove frames|
|``++isindex++``|use form controls|
|``++dir++``|use ``++ul++``|
|``++hgroup++``|use ``++header++`` or ``++div++``|
|``++listing++``|use ``++pre++`` and ``++code++``|
|``++nextid++``|use GUIDS|
|``++noembed++``|use ``++object++`` instead of ``++embed++`` when fallback is necessary|
|``++plaintext++``|use the "text/plain" MIME type|
|``++strike++``|use ``++del++`` or ``++s++``|
|``++xmp++``|use ``++pre++`` or ``++code++``, and escape "<" and "&" characters|
2023-05-03 11:06:20 +02:00
== Resources
2021-06-08 14:23:48 +02:00
* W3C, http://www.w3.org/TR/html5-diff[Obsolete Features]
* WHATWG, http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html[Obsolete Features]