@@ -5,8 +5,8 @@ description: A complete list of all the rules for HTMLHint
5
5
6
6
## Doctype and Head
7
7
8
- - [ ` doctype-first ` ] ( doctype-first/ ) : Doctype must be declared first.
9
- - [ ` doctype-html5 ` ] ( doctype-html5/ ) : Invalid doctype.
8
+ - [ ` doctype-first ` ] ( doctype-first/ ) : ` <doctype> ` must be declared first.
9
+ - [ ` doctype-html5 ` ] ( doctype-html5/ ) : ` < doctype> ` must be HTML5 .
10
10
- [ ` head-script-disabled ` ] ( head-script-disabled/ ) : The ` <script> ` tag cannot be used in ` <head> ` tag.
11
11
- [ ` html-lang-require ` ] ( html-lang-require/ ) : The HTML lang attribute is required.
12
12
- [ ` meta-charset-require ` ] ( meta-charset-require/ ) : ` <meta charset=""> ` must be present in ` <head> ` tag.
@@ -34,6 +34,7 @@ description: A complete list of all the rules for HTMLHint
34
34
## Tags
35
35
36
36
- [ ` empty-tag-not-self-closed ` ] ( empty-tag-not-self-closed/ ) : The empty tag should not be closed by self.
37
+ - [ ` frame-title-require ` ] ( frame-title-require/ ) : A ` <frame> ` or ` <iframe> ` element must have an accessible name.
37
38
- [ ` h1-require ` ] ( h1-require/ ) : A document must have at least one ` <h1> ` element.
38
39
- [ ` href-abs-or-rel ` ] ( href-abs-or-rel/ ) : An href attribute must be either absolute or relative.
39
40
- [ ` main-require ` ] ( main-require/ ) : A document must have at least one ` <main> ` element in the ` <body> ` tag.
@@ -44,7 +45,7 @@ description: A complete list of all the rules for HTMLHint
44
45
- [ ` tagname-specialchars ` ] ( tagname-specialchars/ ) : Tag names can only contain letters, numbers, "-", ":" or "\_ ".
45
46
- [ ` tags-check ` ] ( tags-check/ ) : Allowing specify rules for any tag and validate that
46
47
47
- ## Id
48
+ ## ID
48
49
49
50
- [ ` id-class-ad-disabled ` ] ( id-class-ad-disabled/ ) : The id and class attributes cannot use the ad keyword, it will be blocked by adblock software.
50
51
- [ ` id-class-value ` ] ( id-class-value/ ) : The id and class attribute values must meet the specified rules.
0 commit comments