html-validate:standard
Markup that breaks the HTML standard, with no style rules
Reglas: 33
html-validate/area-althtml-validate/aria-label-misusehtml-validate/attr-spacingNo space between attributes. At least one whitespace character (commonly space) must be used to separate attributes.html-validate/attribute-allowed-valueshtml-validate/attribute-misusehtml-validate/close-attrHTML disallows end tags to have attributes.html-validate/close-orderHTML requires elements to be closed in the same order as they were opened.html-validate/deprecatedhtml-validate/doctype-htmlHTML5 documents should use the “html” doctype (shortform, not legacy string):html-validate/element-namehtml-validate/element-permitted-contenthtml-validate/element-permitted-occurrencesSome elements may only be used a fixed amount of times in given context.html-validate/element-permitted-orderSome elements has a specific order the children must use.html-validate/element-permitted-parenthtml-validate/element-required-ancestorhtml-validate/element-required-attributeshtml-validate/element-required-contenthtml-validate/map-dup-name<map>must have a unique name, it cannot be the same name as another<map>elementhtml-validate/map-id-nameWhen theidattribute is present on a<map>element it must be equal to thenameattribute.html-validate/multiple-labeled-controlsA<label>element can only be associated with one control at a time.html-validate/no-abstract-rolehtml-validate/no-deprecated-attrHTML5 deprecated many old attributes.html-validate/no-dup-attrHTML disallows two or more attributes with the same (case-insensitive) name.html-validate/no-dup-idThe ID of an element must be unique.html-validate/no-multiple-mainOnly a single visible<main>element can be present at in a document at a time.html-validate/no-raw-charactersSome characters such as<and&hold special meaning in HTML and must be escaped using a character reference (HTML entity).html-validate/no-unused-disablehtml-validate/script-elementThe end tag for<script>is a hard requirement and must never be omitted even when using thesrcattribute.html-validate/unrecognized-char-refhtml-validate/valid-autocompletehtml-validate/valid-forThe<label>forattribute must reference a labelable form control.html-validate/valid-idhtml-validate/void-contentHTML void elements cannot have any content and must not have content or end tag.