
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
== Why is this an issue?
|
|
|
|
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:
|
|
|
|
[frame=all]
|
|
[cols="^1,^1"]
|
|
|===
|
|
|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
|
|
|===
|
|
|
|
== Resources
|
|
|
|
* W3C, https://www.w3.org/TR/html5-diff[Obsolete Features]
|
|
* WHATWG, https://html.spec.whatwg.org/multipage/obsolete.html[Obsolete Features]
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Remove this deprecated '{0}' element.
|
|
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== deprecates: S1825
|
|
|
|
=== deprecates: S1826
|
|
|
|
=== on 18 Jun 2013, 08:26:36 Dinesh Bolkensteyn wrote:
|
|
http://www.w3schools.com/tags/
|
|
|
|
=== on 18 Jun 2013, 08:32:10 Dinesh Bolkensteyn wrote:
|
|
http://www.quackit.com/html_5/tags/
|
|
|
|
http://www.quackit.com/html/tags/
|
|
|
|
=== on 8 Jul 2013, 18:26:04 Freddy Mallet wrote:
|
|
Is implemented by \http://jira.codehaus.org/browse/SONARPLUGINS-2945
|
|
|
|
endif::env-github,rspecator-view[]
|