htmlhint:extra
Defects htmlhint ships off: missing alt, labels, lang, meta tags, obsolete tags, unsafe attribute characters
Rules: 18
htmlhint/alt-requireThe alt attribute of an <img> element must be present and alt attribute of area[href] and input[type=image] must have a value.htmlhint/attr-no-unnecessary-whitespaceNo spaces between attribute names and values.htmlhint/attr-unsafe-charsAttribute values cannot contain unsafe chars.htmlhint/attr-value-no-duplicationClass attributes should not contain duplicate values. Other attributes can be checked via configuration.htmlhint/attr-whitespaceAll attributes should be separated by only one space and not have leading/trailing whitespace.htmlhint/button-type-requireThe type attribute of a <button> element must be present with a valid value: “button”, “submit”, or “reset”.htmlhint/doctype-html5Invalid doctype. Use: “<!DOCTYPE html>”htmlhint/frame-title-requireA <frame> or <iframe> element must have an accessible name.htmlhint/h1-require<h1> must be present in <body> tag and not be empty.htmlhint/html-lang-requireThe lang attribute of an <html> element must be present and should be valid.htmlhint/id-class-ad-disabledThe id and class attributes cannot use the ad keyword, it will be blocked by adblock software.htmlhint/input-requires-labelAll [ input ] tags must have a corresponding [ label ] tag.htmlhint/main-require<main> must be present in <body> tag.htmlhint/meta-charset-require<meta charset=“”> must be present in <head> tag.htmlhint/meta-description-require<meta name=“description”> with non-blank content must be present in <head> tag.htmlhint/meta-viewport-require<meta name=“viewport”> with non-blank content must be present in <head> tag.htmlhint/tag-no-obsoleteDisallows the use of obsolete HTML tags.htmlhint/tagname-specialcharsAll special characters must be escaped.