Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-1083

Elements deprecated in HTML5 should not be used

    XMLWordPrintable

    Details

    • Message:
      Remove this deprecated '{0}' element.
    • Default Severity:
      Major
    • Impact:
      Low
    • Likelihood:
      High
    • Default Quality Profiles:
      Sonar way
    • Legacy Key:
      UnsupportedTagsInHtml5Check
    • Covered Languages:
      HTML
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      20min

      Description

      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

      See

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: