Web platform features explorer

Lang

Widely available since 2018-01-29
Tags: api html

The lang global HTML attribute defines the language of an element. It's used by assistive technology to correctly read the content, translation tools to select the origin language, and other applications.

Learning resources on MDN

Browser support

Specifications