GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.pmd-code.org — Best Practices | PMD Source Code Analyzer
Release date: 28-December-2026
Best PracticesRules which enforce generally accepted best practices.
Table of ContentsAvoidInlineStylesSince: PMD 6.45.0 Priority: Medium (3) Don’t mix content and style. Use separate CSS-files for the style and introduce classes. This helps to reuse common styles. This rule is defined by the following XPath expression: Example(s): Use this rule by referencing it: UnnecessaryTypeAttributeSince: PMD 6.45.0 Priority: Medium (3) In HTML5 the explicit type attribute for link and script elements is not needed. Modern browsers expect stylesheets to be in CSS and scripts to use JavaScript. This rule is defined by the following Java class: net.sourceforge.pmd.lang.html.rule.bestpractices.UnnecessaryTypeAttributeRule Example(s): Use this rule by referencing it: UseAltAttributeForImagesSince: PMD 6.45.0 Priority: Medium (3) Always use an "alt" attribute for images. This provides an alternative text and is extensively used by screen readers. This rule is defined by the following Java class: net.sourceforge.pmd.lang.html.rule.bestpractices.UseAltAttributeForImagesRule Example(s): Use this rule by referencing it: |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |