Skip to content

nu-system/html-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
27
Dec 17, 2020
49deb01 · Dec 17, 2020

History

21 Commits
Dec 17, 2020
Dec 17, 2020
Dec 17, 2020
Nov 20, 2019
Nov 17, 2019
Nov 20, 2019
Sep 1, 2020
Sep 1, 2020

Repository files navigation

html-validator

Semantic HTML linter in just pure CSS way.

How to start

npm i @_nu/html-validator

Or just add the tag below in your html page

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@_nu/html-validator" />

If you just wanna use level1 try

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@_nu/html-validator/level1.css" />

if you wanna ignore any element just add data-hvi attr.

Content

html-validator/css
├── level1.css    // leve1 「 red 」:  force validate rules
└── level2.css    // leve2 「 yellow 」: level1.css + suggest validate rules

All valid msg on css prop of content.

Prior art

html-lint was build on this awesome projects: