You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
1234567891011121314151617181920212223
  1. # html-has-lang
  2. <html> elements must have the lang prop.
  3. #### References
  4. 1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/html-lang)
  5. ## Rule details
  6. This rule takes no arguments.
  7. ### Succeed
  8. ```jsx
  9. <html lang="en">
  10. <html lang="en-US">
  11. <html lang={language}>
  12. ```
  13. ### Fail
  14. ```jsx
  15. <html>
  16. ```