Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3895

DOCTYPE for html and xhtml files should be revised to current standards.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.2
    • Fix Version/s: Next
    • Component/s: None
    • Labels:
      None

      Description

      The DOCTYPE at the beginning for html and xhtml files should just be the HTML5 version:

      <!DOCTYPE html>

      All the DTD stuff and other items are obsolete.

      In addition the line

      <?xml version="1.0" encoding="UTF-8"?>

      is also obsolete unless the encoding needs to be changed. I'd prefer to have it removed from every xml file. This is likely a contentious suggestion but I dislike having declarations or code that no longer serves a purpose.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              omniprof Kenneth Fogel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: