Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 311 Bytes

html-has-lang.md

File metadata and controls

23 lines (16 loc) · 311 Bytes

html-has-lang

elements must have the lang prop.

References

  1. Deque University

Rule details

This rule takes no arguments.

Succeed

<html lang="en">
<html lang="en-US">
<html lang={language}>

Fail

<html>