diff --git a/.htmlhintrc b/.htmlhintrc new file mode 100644 index 0000000..9fc617f --- /dev/null +++ b/.htmlhintrc @@ -0,0 +1,8 @@ +{ + "tag-pair": true, + "attr-value-double-quotes": true, + "doctype-first": true, + "id-unique": true +} + + diff --git a/test.html b/test.html new file mode 100644 index 0000000..bde8423 --- /dev/null +++ b/test.html @@ -0,0 +1,16 @@ + + + Bad Page<title> + </head> + <body> + <h1>Welcome + <img src="image.jpg"> + <p>This paragraph is missing its closing tag + <a href="about.html">About us + <ul> + <li>Item 1 + <li>Item 2 + </ul + </body> +</html> +<html><body><h1>Oops<img src="a.png"></body></html>