Using the lang attribute by Matt Lawson

GAIN Experience on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerAccessibility3 min

About this video

A short Nomensa how-to in which web developer Matt Lawson explains how to use the lang attribute to set the language of a website and of individual elements on a page. It suits anyone building web pages who wants to get the basics right.

What you’ll learn

  • Set the language of a web page with the lang attribute
  • Mark individual elements on a page with their own language