org.sonar.l10n.web.rules.Web.S1436.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Enables scanning of HTML, and JSP/JSF files.
This rule allows you to make sure that each HTML page contains an element with your configured ID, regardless of element type. This rule is useful,
for instance, if your design requires a placeholder to be present in each page, for example to dynamically insert a footer.
Compliant Solution
With a required id of "#footer":
<div id="#footer">
...
</div>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy