htmlhint
Markup defects htmlhint reports by default: unpaired tags, duplicate IDs and attributes, a missing doctype or title
Rules: 10
htmlhint/attr-lowercaseAll attribute names must be in lowercase.htmlhint/attr-no-duplicationElements cannot have duplicate attributes.htmlhint/attr-value-double-quotesAttribute values must be in double quotes.htmlhint/doctype-firstDoctype must be declared first (comments and whitespace allowed before DOCTYPE).htmlhint/id-uniqueThe value of id attributes must be unique.htmlhint/spec-char-escapeSpecial characters must be escaped.htmlhint/src-not-emptyThe src attribute of an img(script,link) must have a value.htmlhint/tag-pairTag must be paired.htmlhint/tagname-lowercaseAll html element names must be in lowercase.htmlhint/title-require<title> must be present in <head> tag.