html-has-lang.md
651 Bytes
html-has-lang
elements must have the lang prop. This rule is largely superseded by the lang
rule.
Rule details
This rule takes no arguments.
Succeed
<html lang="en">
<html lang="en-US">
<html lang={language}>
Fail
<html>