sk Skill · thedaviddias
lang-attribute
Use when applies to all HTML documents. Check the <html> opening tag for a lang attribute with a non-empty, valid BCP 47 language code. Also check for lang attribute changes on individual elements when the document contains content in multiple languages (inline quotes, foreign terms, multilingual sections). The lang attribute is inherited — child elements inherit the language from their nearest ancestor with lang.
Open on skills.sh ↗read 2026-09-17
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
MDXhtml
- Host repository
- thedaviddias/Front-End-Checklist
- Category
- html
- Host stars
- 74k
- Host language
- MDX