AI Readable
← All rules
Machine-readable semanticsLowWeight 1

Declares the page language

semantics/lang

Why this matters

The lang attribute helps an engine decide which language of question your content should be cited in. It matters most on multilingual sites.

How to fix it

Which advice applies depends on what the audit found. The label is the condition that triggers it.

  • missing

    Declare the language on <html>, for example lang="en" or lang="zh-CN".

Check your own page

Run a free audit and see which of these rules your page already passes.

Run a free audit

Other Machine-readable semantics rules